diff --git a/Shared/data/MTA San Andreas/MTA/libEGL.dll b/Shared/data/MTA San Andreas/MTA/libEGL.dll index 47529a551aa..e1cfc7bf1a8 100644 Binary files a/Shared/data/MTA San Andreas/MTA/libEGL.dll and b/Shared/data/MTA San Andreas/MTA/libEGL.dll differ diff --git a/Shared/data/MTA San Andreas/MTA/libGLESv2.dll b/Shared/data/MTA San Andreas/MTA/libGLESv2.dll index 6876c20348f..94aededaefd 100644 Binary files a/Shared/data/MTA San Andreas/MTA/libGLESv2.dll and b/Shared/data/MTA San Andreas/MTA/libGLESv2.dll differ diff --git a/Shared/data/MTA San Andreas/MTA/libcef.dll b/Shared/data/MTA San Andreas/MTA/libcef.dll index 21d06bd0d91..8a77dba2245 100644 Binary files a/Shared/data/MTA San Andreas/MTA/libcef.dll and b/Shared/data/MTA San Andreas/MTA/libcef.dll differ diff --git a/Shared/data/MTA San Andreas/MTA/snapshot_blob.bin b/Shared/data/MTA San Andreas/MTA/snapshot_blob.bin index ea641b12107..986489f283c 100644 Binary files a/Shared/data/MTA San Andreas/MTA/snapshot_blob.bin and b/Shared/data/MTA San Andreas/MTA/snapshot_blob.bin differ diff --git a/vendor/cef3/CMakeLists.txt b/vendor/cef3/CMakeLists.txt index 000234bea72..f52012020a7 100644 --- a/vendor/cef3/CMakeLists.txt +++ b/vendor/cef3/CMakeLists.txt @@ -379,12 +379,14 @@ endif() # if(OS_WINDOWS) + # Consumers who run into LNK4099 warnings can pass /Z7 instead (see issue #385). + set(CEF_DEBUG_INFO_FLAG "/Zi" CACHE STRING "Optional flag specifying specific /Z flag to use") + # Platform-specific compiler/linker flags. set(CEF_LIBTYPE STATIC) # /MP = Multiprocess compilation # /Gy = Enable function-level linking # /GR- = Disable run-time type information - # /Zi = Enable program database # /W4 = Warning level 4 # /WX = Treat warnings as errors # /wd"4100" = Ignore "unreferenced formal parameter" warning @@ -394,7 +396,7 @@ if(OS_WINDOWS) # /wd"4701" = Ignore "potentially uninitialized local variable" warning # /wd"4702" = Ignore "unreachable code" warning # /wd"4996" = Ignore "function or variable may be unsafe" warning - set(CEF_COMPILER_FLAGS "/MP /Gy /GR- /Zi /W4 /WX /wd\"4100\" /wd\"4127\" /wd\"4244\" /wd\"4512\" /wd\"4701\" /wd\"4702\" /wd\"4996\"") + set(CEF_COMPILER_FLAGS "/MP /Gy /GR- /W4 /WX /wd\"4100\" /wd\"4127\" /wd\"4244\" /wd\"4512\" /wd\"4701\" /wd\"4702\" /wd\"4996\" ${CEF_DEBUG_INFO_FLAG}") # /MTd = Multithreaded debug runtime # /Od = Disable optimizations # /RTC1 = Enable basic run-time checks diff --git a/vendor/cef3/Debug/cef_sandbox.lib b/vendor/cef3/Debug/cef_sandbox.lib index 63ead8e1fbe..0d9082af458 100644 Binary files a/vendor/cef3/Debug/cef_sandbox.lib and b/vendor/cef3/Debug/cef_sandbox.lib differ diff --git a/vendor/cef3/Debug/libcef.lib b/vendor/cef3/Debug/libcef.lib index 4184e07e445..608440ff93d 100644 Binary files a/vendor/cef3/Debug/libcef.lib and b/vendor/cef3/Debug/libcef.lib differ diff --git a/vendor/cef3/README.txt b/vendor/cef3/README.txt index 13577dd0069..a82534594f6 100644 --- a/vendor/cef3/README.txt +++ b/vendor/cef3/README.txt @@ -1,15 +1,15 @@ Chromium Embedded Framework (CEF) Standard Binary Distribution for Windows ------------------------------------------------------------------------------- -Date: December 02, 2015 +Date: January 10, 2016 -CEF Version: 3.2526.1354.g2ddbe64 +CEF Version: 3.2526.1366.g8617e7c CEF URL: https://bitbucket.org/chromiumembedded/cef.git - @2ddbe6475093610ba0167e8299eb929a903ec799 + @8617e7c22c1215e26aff2a594bb1165b8972b9b1 -Chromium Verison: 47.0.2526.73 +Chromium Verison: 47.0.2526.80 Chromium URL: https://chromium.googlesource.com/chromium/src.git - @2d637ddb1c5ed38b794d9c2c00f0379868892bc8 + @037a6fde9231f53aa6c5762eb6c5e649ea5068e5 This distribution contains all components necessary to build and distribute an application using CEF on the Windows platform. Please see the LICENSING diff --git a/vendor/cef3/Release/cef_sandbox.lib b/vendor/cef3/Release/cef_sandbox.lib index e11ad734c24..7a511bfd387 100644 Binary files a/vendor/cef3/Release/cef_sandbox.lib and b/vendor/cef3/Release/cef_sandbox.lib differ diff --git a/vendor/cef3/Release/libcef.lib b/vendor/cef3/Release/libcef.lib index 638773026a0..baf034ffa96 100644 Binary files a/vendor/cef3/Release/libcef.lib and b/vendor/cef3/Release/libcef.lib differ diff --git a/vendor/cef3/cef_paths.gypi b/vendor/cef3/cef_paths.gypi index 16192733054..f0ae6ebdb1b 100644 --- a/vendor/cef3/cef_paths.gypi +++ b/vendor/cef3/cef_paths.gypi @@ -1,4 +1,4 @@ -# Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +# Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights # reserved. Use of this source code is governed by a BSD-style license that # can be found in the LICENSE file. # @@ -56,6 +56,7 @@ 'include/cef_resource_bundle_handler.h', 'include/cef_resource_handler.h', 'include/cef_response.h', + 'include/cef_response_filter.h', 'include/cef_scheme.h', 'include/cef_ssl_info.h', 'include/cef_stream.h', @@ -115,6 +116,7 @@ 'include/capi/cef_resource_bundle_handler_capi.h', 'include/capi/cef_resource_handler_capi.h', 'include/capi/cef_response_capi.h', + 'include/capi/cef_response_filter_capi.h', 'include/capi/cef_scheme_capi.h', 'include/capi/cef_ssl_info_capi.h', 'include/capi/cef_stream_capi.h', @@ -258,6 +260,8 @@ 'libcef_dll/ctocpp/resource_handler_ctocpp.h', 'libcef_dll/cpptoc/response_cpptoc.cc', 'libcef_dll/cpptoc/response_cpptoc.h', + 'libcef_dll/ctocpp/response_filter_ctocpp.cc', + 'libcef_dll/ctocpp/response_filter_ctocpp.h', 'libcef_dll/cpptoc/run_context_menu_callback_cpptoc.cc', 'libcef_dll/cpptoc/run_context_menu_callback_cpptoc.h', 'libcef_dll/ctocpp/run_file_dialog_callback_ctocpp.cc', @@ -456,6 +460,8 @@ 'libcef_dll/cpptoc/resource_handler_cpptoc.h', 'libcef_dll/ctocpp/response_ctocpp.cc', 'libcef_dll/ctocpp/response_ctocpp.h', + 'libcef_dll/cpptoc/response_filter_cpptoc.cc', + 'libcef_dll/cpptoc/response_filter_cpptoc.h', 'libcef_dll/ctocpp/run_context_menu_callback_ctocpp.cc', 'libcef_dll/ctocpp/run_context_menu_callback_ctocpp.h', 'libcef_dll/cpptoc/run_file_dialog_callback_cpptoc.cc', diff --git a/vendor/cef3/cef_paths2.gypi b/vendor/cef3/cef_paths2.gypi index bc38761e16a..8762505b464 100644 --- a/vendor/cef3/cef_paths2.gypi +++ b/vendor/cef3/cef_paths2.gypi @@ -175,6 +175,8 @@ 'cefclient/browser/preferences_test.h', 'cefclient/browser/resource.h', 'cefclient/browser/resource_util.h', + 'cefclient/browser/response_filter_test.cc', + 'cefclient/browser/response_filter_test.h', 'cefclient/browser/root_window.cc', 'cefclient/browser/root_window.h', 'cefclient/browser/root_window_manager.cc', @@ -223,6 +225,7 @@ 'cefclient/resources/performance.html', 'cefclient/resources/performance2.html', 'cefclient/resources/preferences.html', + 'cefclient/resources/response_filter.html', 'cefclient/resources/transparency.html', 'cefclient/resources/urlrequest.html', 'cefclient/resources/window.html', diff --git a/vendor/cef3/include/base/cef_logging.h b/vendor/cef3/include/base/cef_logging.h index 3e9292f1e43..914855ef54a 100644 --- a/vendor/cef3/include/base/cef_logging.h +++ b/vendor/cef3/include/base/cef_logging.h @@ -141,6 +141,14 @@ // This can happen in cases where Chromium code is used directly by the // client application. When using Chromium code directly always include // the Chromium header first to avoid type conflicts. + +// Always define the DCHECK_IS_ON macro which is used from other CEF headers. +#if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON) +#define DCHECK_IS_ON() 0 +#else +#define DCHECK_IS_ON() 1 +#endif + #elif defined(BUILDING_CEF_SHARED) // When building CEF include the Chromium header directly. #include "base/logging.h" diff --git a/vendor/cef3/include/capi/cef_app_capi.h b/vendor/cef3/include/capi/cef_app_capi.h index 16b132042a8..d120077428c 100644 --- a/vendor/cef3/include/capi/cef_app_capi.h +++ b/vendor/cef3/include/capi/cef_app_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_auth_callback_capi.h b/vendor/cef3/include/capi/cef_auth_callback_capi.h index 01f4c081016..73ed1d99f04 100644 --- a/vendor/cef3/include/capi/cef_auth_callback_capi.h +++ b/vendor/cef3/include/capi/cef_auth_callback_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_browser_capi.h b/vendor/cef3/include/capi/cef_browser_capi.h index 5307498daa5..1077d306263 100644 --- a/vendor/cef3/include/capi/cef_browser_capi.h +++ b/vendor/cef3/include/capi/cef_browser_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_browser_process_handler_capi.h b/vendor/cef3/include/capi/cef_browser_process_handler_capi.h index a4f63cc9917..5150be4dd04 100644 --- a/vendor/cef3/include/capi/cef_browser_process_handler_capi.h +++ b/vendor/cef3/include/capi/cef_browser_process_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_callback_capi.h b/vendor/cef3/include/capi/cef_callback_capi.h index 275138686e7..8d3fa011fdd 100644 --- a/vendor/cef3/include/capi/cef_callback_capi.h +++ b/vendor/cef3/include/capi/cef_callback_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_client_capi.h b/vendor/cef3/include/capi/cef_client_capi.h index 7950152fec8..a8ce6fc21ac 100644 --- a/vendor/cef3/include/capi/cef_client_capi.h +++ b/vendor/cef3/include/capi/cef_client_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_command_line_capi.h b/vendor/cef3/include/capi/cef_command_line_capi.h index 8fc308b974a..0c90356ba58 100644 --- a/vendor/cef3/include/capi/cef_command_line_capi.h +++ b/vendor/cef3/include/capi/cef_command_line_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_context_menu_handler_capi.h b/vendor/cef3/include/capi/cef_context_menu_handler_capi.h index 388e7305255..8de9a85222a 100644 --- a/vendor/cef3/include/capi/cef_context_menu_handler_capi.h +++ b/vendor/cef3/include/capi/cef_context_menu_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_cookie_capi.h b/vendor/cef3/include/capi/cef_cookie_capi.h index 27e99ca36ea..b1f4a1d1004 100644 --- a/vendor/cef3/include/capi/cef_cookie_capi.h +++ b/vendor/cef3/include/capi/cef_cookie_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_dialog_handler_capi.h b/vendor/cef3/include/capi/cef_dialog_handler_capi.h index c97a9639fd8..42a18895816 100644 --- a/vendor/cef3/include/capi/cef_dialog_handler_capi.h +++ b/vendor/cef3/include/capi/cef_dialog_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_display_handler_capi.h b/vendor/cef3/include/capi/cef_display_handler_capi.h index fd4b498dcb2..8a1f6c8cfdf 100644 --- a/vendor/cef3/include/capi/cef_display_handler_capi.h +++ b/vendor/cef3/include/capi/cef_display_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_dom_capi.h b/vendor/cef3/include/capi/cef_dom_capi.h index ac4d1127c78..5bb42d3d5fa 100644 --- a/vendor/cef3/include/capi/cef_dom_capi.h +++ b/vendor/cef3/include/capi/cef_dom_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_download_handler_capi.h b/vendor/cef3/include/capi/cef_download_handler_capi.h index 6acf4fafa9a..0495674e6da 100644 --- a/vendor/cef3/include/capi/cef_download_handler_capi.h +++ b/vendor/cef3/include/capi/cef_download_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_download_item_capi.h b/vendor/cef3/include/capi/cef_download_item_capi.h index 6da4c684b94..13786a01858 100644 --- a/vendor/cef3/include/capi/cef_download_item_capi.h +++ b/vendor/cef3/include/capi/cef_download_item_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_drag_data_capi.h b/vendor/cef3/include/capi/cef_drag_data_capi.h index a24dd1ff44d..5f86225f6c0 100644 --- a/vendor/cef3/include/capi/cef_drag_data_capi.h +++ b/vendor/cef3/include/capi/cef_drag_data_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_drag_handler_capi.h b/vendor/cef3/include/capi/cef_drag_handler_capi.h index c18440821e8..efb90393add 100644 --- a/vendor/cef3/include/capi/cef_drag_handler_capi.h +++ b/vendor/cef3/include/capi/cef_drag_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_find_handler_capi.h b/vendor/cef3/include/capi/cef_find_handler_capi.h index 14e15bb8693..d020f3ef988 100644 --- a/vendor/cef3/include/capi/cef_find_handler_capi.h +++ b/vendor/cef3/include/capi/cef_find_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_focus_handler_capi.h b/vendor/cef3/include/capi/cef_focus_handler_capi.h index c0c1e9d9c2e..9ec0f1b5860 100644 --- a/vendor/cef3/include/capi/cef_focus_handler_capi.h +++ b/vendor/cef3/include/capi/cef_focus_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_frame_capi.h b/vendor/cef3/include/capi/cef_frame_capi.h index 66acd2cd3fc..a0bcd930227 100644 --- a/vendor/cef3/include/capi/cef_frame_capi.h +++ b/vendor/cef3/include/capi/cef_frame_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_geolocation_capi.h b/vendor/cef3/include/capi/cef_geolocation_capi.h index 8a72c5b7f3a..c8a24f7927b 100644 --- a/vendor/cef3/include/capi/cef_geolocation_capi.h +++ b/vendor/cef3/include/capi/cef_geolocation_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_geolocation_handler_capi.h b/vendor/cef3/include/capi/cef_geolocation_handler_capi.h index f739f4df018..fc591b43264 100644 --- a/vendor/cef3/include/capi/cef_geolocation_handler_capi.h +++ b/vendor/cef3/include/capi/cef_geolocation_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_jsdialog_handler_capi.h b/vendor/cef3/include/capi/cef_jsdialog_handler_capi.h index 953f15442e8..b12bc4bec3a 100644 --- a/vendor/cef3/include/capi/cef_jsdialog_handler_capi.h +++ b/vendor/cef3/include/capi/cef_jsdialog_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_keyboard_handler_capi.h b/vendor/cef3/include/capi/cef_keyboard_handler_capi.h index a50e1977f90..677c3a6a6fe 100644 --- a/vendor/cef3/include/capi/cef_keyboard_handler_capi.h +++ b/vendor/cef3/include/capi/cef_keyboard_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_life_span_handler_capi.h b/vendor/cef3/include/capi/cef_life_span_handler_capi.h index 59595c0e348..dc9ed0f51e5 100644 --- a/vendor/cef3/include/capi/cef_life_span_handler_capi.h +++ b/vendor/cef3/include/capi/cef_life_span_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_load_handler_capi.h b/vendor/cef3/include/capi/cef_load_handler_capi.h index 21388b54c8a..bf8bc37f9cb 100644 --- a/vendor/cef3/include/capi/cef_load_handler_capi.h +++ b/vendor/cef3/include/capi/cef_load_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_menu_model_capi.h b/vendor/cef3/include/capi/cef_menu_model_capi.h index 0a9c21a757d..18a92d8311f 100644 --- a/vendor/cef3/include/capi/cef_menu_model_capi.h +++ b/vendor/cef3/include/capi/cef_menu_model_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_navigation_entry_capi.h b/vendor/cef3/include/capi/cef_navigation_entry_capi.h index 6467caca3e4..edd8d251248 100644 --- a/vendor/cef3/include/capi/cef_navigation_entry_capi.h +++ b/vendor/cef3/include/capi/cef_navigation_entry_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_origin_whitelist_capi.h b/vendor/cef3/include/capi/cef_origin_whitelist_capi.h index 6cd123762ba..9a632736ed2 100644 --- a/vendor/cef3/include/capi/cef_origin_whitelist_capi.h +++ b/vendor/cef3/include/capi/cef_origin_whitelist_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_parser_capi.h b/vendor/cef3/include/capi/cef_parser_capi.h index 45d84935f06..2eb98b70633 100644 --- a/vendor/cef3/include/capi/cef_parser_capi.h +++ b/vendor/cef3/include/capi/cef_parser_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_path_util_capi.h b/vendor/cef3/include/capi/cef_path_util_capi.h index 4655b792a74..23befacc2e3 100644 --- a/vendor/cef3/include/capi/cef_path_util_capi.h +++ b/vendor/cef3/include/capi/cef_path_util_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_print_handler_capi.h b/vendor/cef3/include/capi/cef_print_handler_capi.h index 1622106008c..119cd086d84 100644 --- a/vendor/cef3/include/capi/cef_print_handler_capi.h +++ b/vendor/cef3/include/capi/cef_print_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_print_settings_capi.h b/vendor/cef3/include/capi/cef_print_settings_capi.h index 5dfd0ffd946..b60e10bbf9d 100644 --- a/vendor/cef3/include/capi/cef_print_settings_capi.h +++ b/vendor/cef3/include/capi/cef_print_settings_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_process_message_capi.h b/vendor/cef3/include/capi/cef_process_message_capi.h index 975450caf05..3b6a68914b1 100644 --- a/vendor/cef3/include/capi/cef_process_message_capi.h +++ b/vendor/cef3/include/capi/cef_process_message_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_process_util_capi.h b/vendor/cef3/include/capi/cef_process_util_capi.h index f5061009e05..130e3f9a931 100644 --- a/vendor/cef3/include/capi/cef_process_util_capi.h +++ b/vendor/cef3/include/capi/cef_process_util_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_render_handler_capi.h b/vendor/cef3/include/capi/cef_render_handler_capi.h index bf1a2921a9d..1a9d26529d1 100644 --- a/vendor/cef3/include/capi/cef_render_handler_capi.h +++ b/vendor/cef3/include/capi/cef_render_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_render_process_handler_capi.h b/vendor/cef3/include/capi/cef_render_process_handler_capi.h index 35f6c94cb27..8646b45ecd7 100644 --- a/vendor/cef3/include/capi/cef_render_process_handler_capi.h +++ b/vendor/cef3/include/capi/cef_render_process_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_request_capi.h b/vendor/cef3/include/capi/cef_request_capi.h index a42c0fd7a16..d4b9063b101 100644 --- a/vendor/cef3/include/capi/cef_request_capi.h +++ b/vendor/cef3/include/capi/cef_request_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are @@ -87,6 +87,27 @@ typedef struct _cef_request_t { void (CEF_CALLBACK *set_method)(struct _cef_request_t* self, const cef_string_t* method); + /// + // Set the referrer URL and policy. If non-NULL the referrer URL must be fully + // qualified with an HTTP or HTTPS scheme component. Any username, password or + // ref component will be removed. + /// + void (CEF_CALLBACK *set_referrer)(struct _cef_request_t* self, + const cef_string_t* referrer_url, cef_referrer_policy_t policy); + + /// + // Get the referrer URL. + /// + // The resulting string must be freed by calling cef_string_userfree_free(). + cef_string_userfree_t (CEF_CALLBACK *get_referrer_url)( + struct _cef_request_t* self); + + /// + // Get the referrer policy. + /// + cef_referrer_policy_t (CEF_CALLBACK *get_referrer_policy)( + struct _cef_request_t* self); + /// // Get the post data. /// @@ -100,13 +121,14 @@ typedef struct _cef_request_t { struct _cef_post_data_t* postData); /// - // Get the header values. + // Get the header values. Will not include the Referer value if any. /// void (CEF_CALLBACK *get_header_map)(struct _cef_request_t* self, cef_string_multimap_t headerMap); /// - // Set the header values. + // Set the header values. If a Referer value exists in the header map it will + // be removed and ignored. /// void (CEF_CALLBACK *set_header_map)(struct _cef_request_t* self, cef_string_multimap_t headerMap); @@ -190,6 +212,14 @@ typedef struct _cef_post_data_t { /// int (CEF_CALLBACK *is_read_only)(struct _cef_post_data_t* self); + /// + // Returns true (1) if the underlying POST data includes elements that are not + // represented by this cef_post_data_t object (for example, multi-part file + // upload data). Modifying cef_post_data_t objects with excluded elements may + // result in the request failing. + /// + int (CEF_CALLBACK *has_excluded_elements)(struct _cef_post_data_t* self); + /// // Returns the number of existing post data elements. /// diff --git a/vendor/cef3/include/capi/cef_request_context_capi.h b/vendor/cef3/include/capi/cef_request_context_capi.h index 1519c586d5c..1f04e206b5d 100644 --- a/vendor/cef3/include/capi/cef_request_context_capi.h +++ b/vendor/cef3/include/capi/cef_request_context_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_request_context_handler_capi.h b/vendor/cef3/include/capi/cef_request_context_handler_capi.h index c1d91f6ecfc..a7c57072bf3 100644 --- a/vendor/cef3/include/capi/cef_request_context_handler_capi.h +++ b/vendor/cef3/include/capi/cef_request_context_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_request_handler_capi.h b/vendor/cef3/include/capi/cef_request_handler_capi.h index 83bd825d02b..5eb84e9923a 100644 --- a/vendor/cef3/include/capi/cef_request_handler_capi.h +++ b/vendor/cef3/include/capi/cef_request_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are @@ -45,6 +45,7 @@ #include "include/capi/cef_request_capi.h" #include "include/capi/cef_resource_handler_capi.h" #include "include/capi/cef_response_capi.h" +#include "include/capi/cef_response_filter_capi.h" #include "include/capi/cef_ssl_info_capi.h" #ifdef __cplusplus @@ -162,13 +163,38 @@ typedef struct _cef_request_handler_t { struct _cef_browser_t* browser, struct _cef_frame_t* frame, struct _cef_request_t* request, struct _cef_response_t* response); + /// + // Called on the IO thread to optionally filter resource response content. + // |request| and |response| represent the request and response respectively + // and cannot be modified in this callback. + /// + struct _cef_response_filter_t* (CEF_CALLBACK *get_resource_response_filter)( + struct _cef_request_handler_t* self, struct _cef_browser_t* browser, + struct _cef_frame_t* frame, struct _cef_request_t* request, + struct _cef_response_t* response); + + /// + // Called on the IO thread when a resource load has completed. |request| and + // |response| represent the request and response respectively and cannot be + // modified in this callback. |status| indicates the load completion status. + // |received_content_length| is the number of response bytes actually read. + /// + void (CEF_CALLBACK *on_resource_load_complete)( + struct _cef_request_handler_t* self, struct _cef_browser_t* browser, + struct _cef_frame_t* frame, struct _cef_request_t* request, + struct _cef_response_t* response, cef_urlrequest_status_t status, + int64 received_content_length); + /// // Called on the IO thread when the browser needs credentials from the user. // |isProxy| indicates whether the host is a proxy server. |host| contains the - // hostname and |port| contains the port number. Return true (1) to continue - // the request and call cef_auth_callback_t::cont() either in this function or - // at a later time when the authentication information is available. Return - // false (0) to cancel the request immediately. + // hostname and |port| contains the port number. |realm| is the realm of the + // challenge and may be NULL. |scheme| is the authentication scheme used, such + // as "basic" or "digest", and will be NULL if the source of the request is an + // FTP server. Return true (1) to continue the request and call + // cef_auth_callback_t::cont() either in this function or at a later time when + // the authentication information is available. Return false (0) to cancel the + // request immediately. /// int (CEF_CALLBACK *get_auth_credentials)(struct _cef_request_handler_t* self, struct _cef_browser_t* browser, struct _cef_frame_t* frame, int isProxy, diff --git a/vendor/cef3/include/capi/cef_resource_bundle_capi.h b/vendor/cef3/include/capi/cef_resource_bundle_capi.h index fee978616e4..7694618ea12 100644 --- a/vendor/cef3/include/capi/cef_resource_bundle_capi.h +++ b/vendor/cef3/include/capi/cef_resource_bundle_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_resource_bundle_handler_capi.h b/vendor/cef3/include/capi/cef_resource_bundle_handler_capi.h index 7056bc56247..a0397f7eeb2 100644 --- a/vendor/cef3/include/capi/cef_resource_bundle_handler_capi.h +++ b/vendor/cef3/include/capi/cef_resource_bundle_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_resource_handler_capi.h b/vendor/cef3/include/capi/cef_resource_handler_capi.h index cf3bae9f441..eb31980f9a0 100644 --- a/vendor/cef3/include/capi/cef_resource_handler_capi.h +++ b/vendor/cef3/include/capi/cef_resource_handler_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_response_capi.h b/vendor/cef3/include/capi/cef_response_capi.h index d48a2d18e7d..e6143c842b5 100644 --- a/vendor/cef3/include/capi/cef_response_capi.h +++ b/vendor/cef3/include/capi/cef_response_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_response_filter_capi.h b/vendor/cef3/include/capi/cef_response_filter_capi.h new file mode 100644 index 00000000000..ae5a99f87e5 --- /dev/null +++ b/vendor/cef3/include/capi/cef_response_filter_capi.h @@ -0,0 +1,91 @@ +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the name Chromium Embedded +// Framework nor the names of its contributors may be used to endorse +// or promote products derived from this software without specific prior +// written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// --------------------------------------------------------------------------- +// +// This file was generated by the CEF translator tool and should not edited +// by hand. See the translator.README.txt file in the tools directory for +// more information. +// + +#ifndef CEF_INCLUDE_CAPI_CEF_RESPONSE_FILTER_CAPI_H_ +#define CEF_INCLUDE_CAPI_CEF_RESPONSE_FILTER_CAPI_H_ +#pragma once + +#include "include/capi/cef_base_capi.h" + +#ifdef __cplusplus +extern "C" { +#endif + + +/// +// Implement this structure to filter resource response content. The functions +// of this structure will be called on the browser process IO thread. +/// +typedef struct _cef_response_filter_t { + /// + // Base structure. + /// + cef_base_t base; + + /// + // Initialize the response filter. Will only be called a single time. The + // filter will not be installed if this function returns false (0). + /// + int (CEF_CALLBACK *init_filter)(struct _cef_response_filter_t* self); + + // Called to filter a chunk of data. |data_in| is the input buffer containing + // |data_in_size| bytes of pre-filter data (|data_in| will be NULL if + // |data_in_size| is zero). |data_out| is the output buffer that can accept up + // to |data_out_size| bytes of filtered output data. Set |data_in_read| to the + // number of bytes that were read from |data_in|. Set |data_out_written| to + // the number of bytes that were written into |data_out|. If some or all of + // the pre-filter data was read successfully but more data is needed in order + // to continue filtering (filtered output is pending) return + // RESPONSE_FILTER_NEED_MORE_DATA. If some or all of the pre-filter data was + // read successfully and all available filtered output has been written return + // RESPONSE_FILTER_DONE. If an error occurs during filtering return + // RESPONSE_FILTER_ERROR. This function will be called repeatedly until there + // is no more data to filter (resource response is complete), |data_in_read| + // matches |data_in_size| (all available pre-filter bytes have been read), and + // the function returns RESPONSE_FILTER_DONE or RESPONSE_FILTER_ERROR. Do not + // keep a reference to the buffers passed to this function. + cef_response_filter_status_t (CEF_CALLBACK *filter)( + struct _cef_response_filter_t* self, void* data_in, size_t data_in_size, + size_t* data_in_read, void* data_out, size_t data_out_size, + size_t* data_out_written); +} cef_response_filter_t; + + +#ifdef __cplusplus +} +#endif + +#endif // CEF_INCLUDE_CAPI_CEF_RESPONSE_FILTER_CAPI_H_ diff --git a/vendor/cef3/include/capi/cef_scheme_capi.h b/vendor/cef3/include/capi/cef_scheme_capi.h index 7fb15da20d3..5251b886dfa 100644 --- a/vendor/cef3/include/capi/cef_scheme_capi.h +++ b/vendor/cef3/include/capi/cef_scheme_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_ssl_info_capi.h b/vendor/cef3/include/capi/cef_ssl_info_capi.h index dd0e6a9ff84..fe340de7b94 100644 --- a/vendor/cef3/include/capi/cef_ssl_info_capi.h +++ b/vendor/cef3/include/capi/cef_ssl_info_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are @@ -126,6 +126,24 @@ typedef struct _cef_sslinfo_t { /// cef_base_t base; + /// + // Returns a bitmask containing any and all problems verifying the server + // certificate. + /// + cef_cert_status_t (CEF_CALLBACK *get_cert_status)( + struct _cef_sslinfo_t* self); + + /// + // Returns true (1) if the certificate status has any error, major or minor. + /// + int (CEF_CALLBACK *is_cert_status_error)(struct _cef_sslinfo_t* self); + + /// + // Returns true (1) if the certificate status represents only minor errors + // (e.g. failure to verify certificate revocation). + /// + int (CEF_CALLBACK *is_cert_status_minor_error)(struct _cef_sslinfo_t* self); + /// // Returns the subject of the X.509 certificate. For HTTPS server certificates // this represents the web server. The common name of the subject should @@ -170,6 +188,28 @@ typedef struct _cef_sslinfo_t { /// struct _cef_binary_value_t* (CEF_CALLBACK *get_pemencoded)( struct _cef_sslinfo_t* self); + + /// + // Returns the number of certificates in the issuer chain. If 0, the + // certificate is self-signed. + /// + size_t (CEF_CALLBACK *get_issuer_chain_size)(struct _cef_sslinfo_t* self); + + /// + // Returns the DER encoded data for the certificate issuer chain. If we failed + // to encode a certificate in the chain it is still present in the array but + // is an NULL string. + /// + void (CEF_CALLBACK *get_derencoded_issuer_chain)(struct _cef_sslinfo_t* self, + size_t* chainCount, struct _cef_binary_value_t** chain); + + /// + // Returns the PEM encoded data for the certificate issuer chain. If we failed + // to encode a certificate in the chain it is still present in the array but + // is an NULL string. + /// + void (CEF_CALLBACK *get_pemencoded_issuer_chain)(struct _cef_sslinfo_t* self, + size_t* chainCount, struct _cef_binary_value_t** chain); } cef_sslinfo_t; diff --git a/vendor/cef3/include/capi/cef_stream_capi.h b/vendor/cef3/include/capi/cef_stream_capi.h index 260dae8c362..35e514fdf53 100644 --- a/vendor/cef3/include/capi/cef_stream_capi.h +++ b/vendor/cef3/include/capi/cef_stream_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_string_visitor_capi.h b/vendor/cef3/include/capi/cef_string_visitor_capi.h index 8fde238b55d..ab9ea8012de 100644 --- a/vendor/cef3/include/capi/cef_string_visitor_capi.h +++ b/vendor/cef3/include/capi/cef_string_visitor_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_task_capi.h b/vendor/cef3/include/capi/cef_task_capi.h index ea0ff7f08d8..0ab13f44d47 100644 --- a/vendor/cef3/include/capi/cef_task_capi.h +++ b/vendor/cef3/include/capi/cef_task_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_trace_capi.h b/vendor/cef3/include/capi/cef_trace_capi.h index 92b499916e0..1d398e3c9e1 100644 --- a/vendor/cef3/include/capi/cef_trace_capi.h +++ b/vendor/cef3/include/capi/cef_trace_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_urlrequest_capi.h b/vendor/cef3/include/capi/cef_urlrequest_capi.h index 63edbd18b7c..b325a3bef05 100644 --- a/vendor/cef3/include/capi/cef_urlrequest_capi.h +++ b/vendor/cef3/include/capi/cef_urlrequest_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_v8_capi.h b/vendor/cef3/include/capi/cef_v8_capi.h index d679432f093..4bc4025d07f 100644 --- a/vendor/cef3/include/capi/cef_v8_capi.h +++ b/vendor/cef3/include/capi/cef_v8_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_values_capi.h b/vendor/cef3/include/capi/cef_values_capi.h index c48cd078b2d..6434489f860 100644 --- a/vendor/cef3/include/capi/cef_values_capi.h +++ b/vendor/cef3/include/capi/cef_values_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_web_plugin_capi.h b/vendor/cef3/include/capi/cef_web_plugin_capi.h index eb0ef1c87b4..eb98f6b6383 100644 --- a/vendor/cef3/include/capi/cef_web_plugin_capi.h +++ b/vendor/cef3/include/capi/cef_web_plugin_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_xml_reader_capi.h b/vendor/cef3/include/capi/cef_xml_reader_capi.h index 263bcfe1f73..6774e555b0b 100644 --- a/vendor/cef3/include/capi/cef_xml_reader_capi.h +++ b/vendor/cef3/include/capi/cef_xml_reader_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/capi/cef_zip_reader_capi.h b/vendor/cef3/include/capi/cef_zip_reader_capi.h index 80bf613a70a..b1233c4440e 100644 --- a/vendor/cef3/include/capi/cef_zip_reader_capi.h +++ b/vendor/cef3/include/capi/cef_zip_reader_capi.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/cef_pack_resources.h b/vendor/cef3/include/cef_pack_resources.h index e44a8364033..2a2ce4309e6 100644 --- a/vendor/cef3/include/cef_pack_resources.h +++ b/vendor/cef3/include/cef_pack_resources.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/cef_pack_strings.h b/vendor/cef3/include/cef_pack_strings.h index 1bd52aadbf5..18f39c91a3e 100644 --- a/vendor/cef3/include/cef_pack_strings.h +++ b/vendor/cef3/include/cef_pack_strings.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are diff --git a/vendor/cef3/include/cef_request.h b/vendor/cef3/include/cef_request.h index 6d13da128b2..a4626aa0217 100644 --- a/vendor/cef3/include/cef_request.h +++ b/vendor/cef3/include/cef_request.h @@ -53,6 +53,7 @@ class CefPostDataElement; class CefRequest : public virtual CefBase { public: typedef std::multimap HeaderMap; + typedef cef_referrer_policy_t ReferrerPolicy; typedef cef_resource_type_t ResourceType; typedef cef_transition_type_t TransitionType; @@ -93,6 +94,27 @@ class CefRequest : public virtual CefBase { /*--cef()--*/ virtual void SetMethod(const CefString& method) =0; + /// + // Set the referrer URL and policy. If non-empty the referrer URL must be + // fully qualified with an HTTP or HTTPS scheme component. Any username, + // password or ref component will be removed. + /// + /*--cef()--*/ + virtual void SetReferrer(const CefString& referrer_url, + ReferrerPolicy policy) =0; + + /// + // Get the referrer URL. + /// + /*--cef()--*/ + virtual CefString GetReferrerURL() =0; + + /// + // Get the referrer policy. + /// + /*--cef(default_retval=REFERRER_POLICY_DEFAULT)--*/ + virtual ReferrerPolicy GetReferrerPolicy() =0; + /// // Get the post data. /// @@ -106,13 +128,14 @@ class CefRequest : public virtual CefBase { virtual void SetPostData(CefRefPtr postData) =0; /// - // Get the header values. + // Get the header values. Will not include the Referer value if any. /// /*--cef()--*/ virtual void GetHeaderMap(HeaderMap& headerMap) =0; /// - // Set the header values. + // Set the header values. If a Referer value exists in the header map it will + // be removed and ignored. /// /*--cef()--*/ virtual void SetHeaderMap(const HeaderMap& headerMap) =0; @@ -200,6 +223,15 @@ class CefPostData : public virtual CefBase { /*--cef()--*/ virtual bool IsReadOnly() =0; + /// + // Returns true if the underlying POST data includes elements that are not + // represented by this CefPostData object (for example, multi-part file upload + // data). Modifying CefPostData objects with excluded elements may result in + // the request failing. + /// + /*--cef()--*/ + virtual bool HasExcludedElements() = 0; + /// // Returns the number of existing post data elements. /// diff --git a/vendor/cef3/include/cef_request_handler.h b/vendor/cef3/include/cef_request_handler.h index 1327a804514..e42bb62f2a6 100644 --- a/vendor/cef3/include/cef_request_handler.h +++ b/vendor/cef3/include/cef_request_handler.h @@ -44,6 +44,7 @@ #include "include/cef_frame.h" #include "include/cef_resource_handler.h" #include "include/cef_response.h" +#include "include/cef_response_filter.h" #include "include/cef_request.h" #include "include/cef_ssl_info.h" @@ -78,6 +79,7 @@ class CefRequestHandler : public virtual CefBase { public: typedef cef_return_value_t ReturnValue; typedef cef_termination_status_t TerminationStatus; + typedef cef_urlrequest_status_t URLRequestStatus; typedef cef_window_open_disposition_t WindowOpenDisposition; /// @@ -180,15 +182,46 @@ class CefRequestHandler : public virtual CefBase { return false; } + /// + // Called on the IO thread to optionally filter resource response content. + // |request| and |response| represent the request and response respectively + // and cannot be modified in this callback. + /// + /*--cef()--*/ + virtual CefRefPtr GetResourceResponseFilter( + CefRefPtr browser, + CefRefPtr frame, + CefRefPtr request, + CefRefPtr response) { + return NULL; + } + + /// + // Called on the IO thread when a resource load has completed. |request| and + // |response| represent the request and response respectively and cannot be + // modified in this callback. |status| indicates the load completion status. + // |received_content_length| is the number of response bytes actually read. + /// + /*--cef()--*/ + virtual void OnResourceLoadComplete(CefRefPtr browser, + CefRefPtr frame, + CefRefPtr request, + CefRefPtr response, + URLRequestStatus status, + int64 received_content_length) {} + /// // Called on the IO thread when the browser needs credentials from the user. // |isProxy| indicates whether the host is a proxy server. |host| contains the - // hostname and |port| contains the port number. Return true to continue the - // request and call CefAuthCallback::Continue() either in this method or - // at a later time when the authentication information is available. Return - // false to cancel the request immediately. + // hostname and |port| contains the port number. |realm| is the realm of the + // challenge and may be empty. |scheme| is the authentication scheme used, + // such as "basic" or "digest", and will be empty if the source of the request + // is an FTP server. Return true to continue the request and call + // CefAuthCallback::Continue() either in this method or at a later time when + // the authentication information is available. Return false to cancel the + // request immediately. /// - /*--cef(optional_param=realm)--*/ + /*--cef(optional_param=realm,optional_param=scheme)--*/ virtual bool GetAuthCredentials(CefRefPtr browser, CefRefPtr frame, bool isProxy, diff --git a/vendor/cef3/include/cef_response_filter.h b/vendor/cef3/include/cef_response_filter.h new file mode 100644 index 00000000000..c7f9a5bda38 --- /dev/null +++ b/vendor/cef3/include/cef_response_filter.h @@ -0,0 +1,84 @@ +// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the name Chromium Embedded +// Framework nor the names of its contributors may be used to endorse +// or promote products derived from this software without specific prior +// written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// --------------------------------------------------------------------------- +// +// The contents of this file must follow a specific format in order to +// support the CEF translator tool. See the translator.README.txt file in the +// tools directory for more information. +// + +#ifndef CEF_INCLUDE_CEF_RESPONSE_FILTER_H_ +#define CEF_INCLUDE_CEF_RESPONSE_FILTER_H_ +#pragma once + +#include "include/cef_base.h" + +/// +// Implement this interface to filter resource response content. The methods of +// this class will be called on the browser process IO thread. +/// +/*--cef(source=client)--*/ +class CefResponseFilter : public virtual CefBase { + public: + typedef cef_response_filter_status_t FilterStatus; + + /// + // Initialize the response filter. Will only be called a single time. The + // filter will not be installed if this method returns false. + /// + /*--cef()--*/ + virtual bool InitFilter() =0; + + // Called to filter a chunk of data. |data_in| is the input buffer containing + // |data_in_size| bytes of pre-filter data (|data_in| will be NULL if + // |data_in_size| is zero). |data_out| is the output buffer that can accept up + // to |data_out_size| bytes of filtered output data. Set |data_in_read| to the + // number of bytes that were read from |data_in|. Set |data_out_written| to + // the number of bytes that were written into |data_out|. If some or all of + // the pre-filter data was read successfully but more data is needed in order + // to continue filtering (filtered output is pending) return + // RESPONSE_FILTER_NEED_MORE_DATA. If some or all of the pre-filter data was + // read successfully and all available filtered output has been written return + // RESPONSE_FILTER_DONE. If an error occurs during filtering return + // RESPONSE_FILTER_ERROR. This method will be called repeatedly until there is + // no more data to filter (resource response is complete), |data_in_read| + // matches |data_in_size| (all available pre-filter bytes have been read), and + // the method returns RESPONSE_FILTER_DONE or RESPONSE_FILTER_ERROR. Do not + // keep a reference to the buffers passed to this method. + /*--cef(optional_param=data_in,default_retval=RESPONSE_FILTER_ERROR)--*/ + virtual FilterStatus Filter(void* data_in, + size_t data_in_size, + size_t& data_in_read, + void* data_out, + size_t data_out_size, + size_t& data_out_written) =0; +}; + +#endif // CEF_INCLUDE_CEF_RESPONSE_FILTER_H_ diff --git a/vendor/cef3/include/cef_ssl_info.h b/vendor/cef3/include/cef_ssl_info.h index 213e1ee080b..1ebc894ea8a 100644 --- a/vendor/cef3/include/cef_ssl_info.h +++ b/vendor/cef3/include/cef_ssl_info.h @@ -111,6 +111,28 @@ class CefSSLCertPrincipal : public virtual CefBase { /*--cef(source=library)--*/ class CefSSLInfo : public virtual CefBase { public: + typedef std::vector > IssuerChainBinaryList; + + /// + // Returns a bitmask containing any and all problems verifying the server + // certificate. + /// + /*--cef(default_retval=CERT_STATUS_NONE)--*/ + virtual cef_cert_status_t GetCertStatus() =0; + + /// + // Returns true if the certificate status has any error, major or minor. + /// + /*--cef()--*/ + virtual bool IsCertStatusError() =0; + + /// + // Returns true if the certificate status represents only minor errors + // (e.g. failure to verify certificate revocation). + /// + /*--cef()--*/ + virtual bool IsCertStatusMinorError() =0; + /// // Returns the subject of the X.509 certificate. For HTTPS server // certificates this represents the web server. The common name of the @@ -157,6 +179,29 @@ class CefSSLInfo : public virtual CefBase { /// /*--cef()--*/ virtual CefRefPtr GetPEMEncoded() =0; + + /// + // Returns the number of certificates in the issuer chain. + // If 0, the certificate is self-signed. + /// + /*--cef()--*/ + virtual size_t GetIssuerChainSize() =0; + + /// + // Returns the DER encoded data for the certificate issuer chain. + // If we failed to encode a certificate in the chain it is still + // present in the array but is an empty string. + /// + /*--cef(count_func=chain:GetIssuerChainSize)--*/ + virtual void GetDEREncodedIssuerChain(IssuerChainBinaryList& chain) =0; + + /// + // Returns the PEM encoded data for the certificate issuer chain. + // If we failed to encode a certificate in the chain it is still + // present in the array but is an empty string. + /// + /*--cef(count_func=chain:GetIssuerChainSize)--*/ + virtual void GetPEMEncodedIssuerChain(IssuerChainBinaryList& chain) =0; }; #endif // CEF_INCLUDE_CEF_SSL_INFO_H_ diff --git a/vendor/cef3/include/cef_version.h b/vendor/cef3/include/cef_version.h index d4accdcca21..43d5520dca7 100644 --- a/vendor/cef3/include/cef_version.h +++ b/vendor/cef3/include/cef_version.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved. +// Copyright (c) 2016 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are @@ -35,16 +35,16 @@ #ifndef CEF_INCLUDE_CEF_VERSION_H_ #define CEF_INCLUDE_CEF_VERSION_H_ -#define CEF_VERSION "3.2526.1354.g2ddbe64" +#define CEF_VERSION "3.2526.1366.g8617e7c" #define CEF_VERSION_MAJOR 3 -#define CEF_COMMIT_NUMBER 1354 -#define CEF_COMMIT_HASH "2ddbe6475093610ba0167e8299eb929a903ec799" -#define COPYRIGHT_YEAR 2015 +#define CEF_COMMIT_NUMBER 1366 +#define CEF_COMMIT_HASH "8617e7c22c1215e26aff2a594bb1165b8972b9b1" +#define COPYRIGHT_YEAR 2016 #define CHROME_VERSION_MAJOR 47 #define CHROME_VERSION_MINOR 0 #define CHROME_VERSION_BUILD 2526 -#define CHROME_VERSION_PATCH 73 +#define CHROME_VERSION_PATCH 80 #define DO_MAKE_STRING(p) #p #define MAKE_STRING(p) DO_MAKE_STRING(p) @@ -63,13 +63,13 @@ extern "C" { // universal hash value will change if any platform is affected whereas the // platform hash values will change only if that particular platform is // affected. -#define CEF_API_HASH_UNIVERSAL "88a4f20cca8fa9f2dabcf971222ff45460b85e0a" +#define CEF_API_HASH_UNIVERSAL "d3a0414c40a4941f5c67005055e2c70599ad14ce" #if defined(OS_WIN) -#define CEF_API_HASH_PLATFORM "aedc47934d2e125e0c050fe82f5600b74ae47a72" +#define CEF_API_HASH_PLATFORM "1572ecbd47bba644fb71ada9451e128cd5087d12" #elif defined(OS_MACOSX) -#define CEF_API_HASH_PLATFORM "d6e4f507a268eb6c7b95008cba22196456fd83e2" +#define CEF_API_HASH_PLATFORM "f7d1855852e19149522d8b531325cb4e8a4daa66" #elif defined(OS_LINUX) -#define CEF_API_HASH_PLATFORM "13b92173fc4865e204346e1417f5a4df0eb8a7bd" +#define CEF_API_HASH_PLATFORM "b0919d511659eb09d6a020f297a4ef446a37f0b5" #endif // Returns CEF version information for the libcef library. The |entry| diff --git a/vendor/cef3/include/internal/cef_types.h b/vendor/cef3/include/internal/cef_types.h index 4428973dd97..10a6b03f023 100644 --- a/vendor/cef3/include/internal/cef_types.h +++ b/vendor/cef3/include/internal/cef_types.h @@ -866,6 +866,7 @@ typedef enum { ERR_SSL_VERSION_OR_CIPHER_MISMATCH = -113, ERR_SSL_RENEGOTIATION_REQUESTED = -114, ERR_CERT_COMMON_NAME_INVALID = -200, + ERR_CERT_BEGIN = ERR_CERT_COMMON_NAME_INVALID, ERR_CERT_DATE_INVALID = -201, ERR_CERT_AUTHORITY_INVALID = -202, ERR_CERT_CONTAINS_ERRORS = -203, @@ -873,7 +874,13 @@ typedef enum { ERR_CERT_UNABLE_TO_CHECK_REVOCATION = -205, ERR_CERT_REVOKED = -206, ERR_CERT_INVALID = -207, - ERR_CERT_END = -208, + ERR_CERT_WEAK_SIGNATURE_ALGORITHM = -208, + // -209 is available: was ERR_CERT_NOT_IN_DNS. + ERR_CERT_NON_UNIQUE_NAME = -210, + ERR_CERT_WEAK_KEY = -211, + ERR_CERT_NAME_CONSTRAINT_VIOLATION = -212, + ERR_CERT_VALIDITY_TOO_LONG = -213, + ERR_CERT_END = ERR_CERT_VALIDITY_TOO_LONG, ERR_INVALID_URL = -300, ERR_DISALLOWED_URL_SCHEME = -301, ERR_UNKNOWN_URL_SCHEME = -302, @@ -890,6 +897,38 @@ typedef enum { ERR_INSECURE_RESPONSE = -501, } cef_errorcode_t; +/// +// Supported certificate status code values. See net\cert\cert_status_flags.h +// for more information. CERT_STATUS_NONE is new in CEF because we use an +// enum while cert_status_flags.h uses a typedef and static const variables. +/// +typedef enum { + CERT_STATUS_NONE = 0, + CERT_STATUS_COMMON_NAME_INVALID = 1 << 0, + CERT_STATUS_DATE_INVALID = 1 << 1, + CERT_STATUS_AUTHORITY_INVALID = 1 << 2, + // 1 << 3 is reserved for ERR_CERT_CONTAINS_ERRORS (not useful with WinHTTP). + CERT_STATUS_NO_REVOCATION_MECHANISM = 1 << 4, + CERT_STATUS_UNABLE_TO_CHECK_REVOCATION = 1 << 5, + CERT_STATUS_REVOKED = 1 << 6, + CERT_STATUS_INVALID = 1 << 7, + CERT_STATUS_WEAK_SIGNATURE_ALGORITHM = 1 << 8, + // 1 << 9 was used for CERT_STATUS_NOT_IN_DNS + CERT_STATUS_NON_UNIQUE_NAME = 1 << 10, + CERT_STATUS_WEAK_KEY = 1 << 11, + // 1 << 12 was used for CERT_STATUS_WEAK_DH_KEY + CERT_STATUS_PINNED_KEY_MISSING = 1 << 13, + CERT_STATUS_NAME_CONSTRAINT_VIOLATION = 1 << 14, + CERT_STATUS_VALIDITY_TOO_LONG = 1 << 15, + + // Bits 16 to 31 are for non-error statuses. + CERT_STATUS_IS_EV = 1 << 16, + CERT_STATUS_REV_CHECKING_ENABLED = 1 << 17, + // Bit 18 was CERT_STATUS_IS_DNSSEC + CERT_STATUS_SHA1_SIGNATURE_PRESENT = 1 << 19, + CERT_STATUS_CT_COMPLIANCE_FAILED = 1 << 20, +} cef_cert_status_t; + /// // The manner in which a link click should be opened. /// @@ -2299,6 +2338,70 @@ typedef enum { PLUGIN_POLICY_DISABLE, } cef_plugin_policy_t; +/// +// Policy for how the Referrer HTTP header value will be sent during navigation. +// If the `--no-referrers` command-line flag is specified then the policy value +// will be ignored and the Referrer value will never be sent. +/// +typedef enum { + /// + // Always send the complete Referrer value. + /// + REFERRER_POLICY_ALWAYS, + + /// + // Use the default policy. This is REFERRER_POLICY_ORIGIN_WHEN_CROSS_ORIGIN + // when the `--reduced-referrer-granularity` command-line flag is specified + // and REFERRER_POLICY_NO_REFERRER_WHEN_DOWNGRADE otherwise. + // + /// + REFERRER_POLICY_DEFAULT, + + /// + // When navigating from HTTPS to HTTP do not send the Referrer value. + // Otherwise, send the complete Referrer value. + /// + REFERRER_POLICY_NO_REFERRER_WHEN_DOWNGRADE, + + /// + // Never send the Referrer value. + /// + REFERRER_POLICY_NEVER, + + /// + // Only send the origin component of the Referrer value. + /// + REFERRER_POLICY_ORIGIN, + + /// + // When navigating cross-origin only send the origin component of the Referrer + // value. Otherwise, send the complete Referrer value. + /// + REFERRER_POLICY_ORIGIN_WHEN_CROSS_ORIGIN, +} cef_referrer_policy_t; + +/// +// Return values for CefResponseFilter::Filter(). +/// +typedef enum { + /// + // Some or all of the pre-filter data was read successfully but more data is + // needed in order to continue filtering (filtered output is pending). + /// + RESPONSE_FILTER_NEED_MORE_DATA, + + /// + // Some or all of the pre-filter data was read successfully and all available + // filtered output has been written. + /// + RESPONSE_FILTER_DONE, + + /// + // An error occurred during filtering. + /// + RESPONSE_FILTER_ERROR +} cef_response_filter_status_t; + #ifdef __cplusplus } #endif diff --git a/vendor/cef3/libcef_dll/CMakeLists.txt b/vendor/cef3/libcef_dll/CMakeLists.txt index d099042de8e..bd3298a93c0 100644 --- a/vendor/cef3/libcef_dll/CMakeLists.txt +++ b/vendor/cef3/libcef_dll/CMakeLists.txt @@ -106,6 +106,8 @@ set(LIBCEF_CPPTOC_SRCS cpptoc/resource_bundle_handler_cpptoc.h cpptoc/resource_handler_cpptoc.cc cpptoc/resource_handler_cpptoc.h + cpptoc/response_filter_cpptoc.cc + cpptoc/response_filter_cpptoc.h cpptoc/run_file_dialog_callback_cpptoc.cc cpptoc/run_file_dialog_callback_cpptoc.h cpptoc/scheme_handler_factory_cpptoc.cc @@ -284,6 +286,7 @@ set(LIBCEF_INCLUDE_SRCS ../include/cef_resource_bundle_handler.h ../include/cef_resource_handler.h ../include/cef_response.h + ../include/cef_response_filter.h ../include/cef_runnable.h ../include/cef_scheme.h ../include/cef_ssl_info.h @@ -405,6 +408,7 @@ set(LIBCEF_INCLUDE_CAPI_SRCS ../include/capi/cef_resource_bundle_handler_capi.h ../include/capi/cef_resource_handler_capi.h ../include/capi/cef_response_capi.h + ../include/capi/cef_response_filter_capi.h ../include/capi/cef_scheme_capi.h ../include/capi/cef_ssl_info_capi.h ../include/capi/cef_stream_capi.h diff --git a/vendor/cef3/libcef_dll/cpptoc/app_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/app_cpptoc.cc index 4f4d01ad733..71c290f2a36 100644 --- a/vendor/cef3/libcef_dll/cpptoc/app_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/app_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/app_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/app_cpptoc.h index 59772d55ea3..55026694a72 100644 --- a/vendor/cef3/libcef_dll/cpptoc/app_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/app_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/browser_process_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/browser_process_handler_cpptoc.cc index e20f92c2b47..95dc38802d5 100644 --- a/vendor/cef3/libcef_dll/cpptoc/browser_process_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/browser_process_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/browser_process_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/browser_process_handler_cpptoc.h index df6da1dc139..725ca287dfd 100644 --- a/vendor/cef3/libcef_dll/cpptoc/browser_process_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/browser_process_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/client_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/client_cpptoc.cc index 7fc27308966..cf6f226115e 100644 --- a/vendor/cef3/libcef_dll/cpptoc/client_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/client_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/client_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/client_cpptoc.h index 5491c639043..f06ce377b75 100644 --- a/vendor/cef3/libcef_dll/cpptoc/client_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/client_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/completion_callback_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/completion_callback_cpptoc.cc index a469782c36a..6e5fef47827 100644 --- a/vendor/cef3/libcef_dll/cpptoc/completion_callback_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/completion_callback_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/completion_callback_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/completion_callback_cpptoc.h index e1fc0fc0a5f..bc06373d523 100644 --- a/vendor/cef3/libcef_dll/cpptoc/completion_callback_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/completion_callback_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/context_menu_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/context_menu_handler_cpptoc.cc index 8e2e381270f..d07f7533460 100644 --- a/vendor/cef3/libcef_dll/cpptoc/context_menu_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/context_menu_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/context_menu_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/context_menu_handler_cpptoc.h index 8cd4a217c8c..fa2ffbf6337 100644 --- a/vendor/cef3/libcef_dll/cpptoc/context_menu_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/context_menu_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/cookie_visitor_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/cookie_visitor_cpptoc.cc index 13c3708a2c0..ecac53c0c92 100644 --- a/vendor/cef3/libcef_dll/cpptoc/cookie_visitor_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/cookie_visitor_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/cookie_visitor_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/cookie_visitor_cpptoc.h index 88ca1539340..7e12965cd46 100644 --- a/vendor/cef3/libcef_dll/cpptoc/cookie_visitor_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/cookie_visitor_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/delete_cookies_callback_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/delete_cookies_callback_cpptoc.cc index 12bd8e65c0d..71c0f1b9f56 100644 --- a/vendor/cef3/libcef_dll/cpptoc/delete_cookies_callback_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/delete_cookies_callback_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/delete_cookies_callback_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/delete_cookies_callback_cpptoc.h index aedb3c0f5c6..52f7b8d75f4 100644 --- a/vendor/cef3/libcef_dll/cpptoc/delete_cookies_callback_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/delete_cookies_callback_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/dialog_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/dialog_handler_cpptoc.cc index 73020825fcc..0441a1c4b26 100644 --- a/vendor/cef3/libcef_dll/cpptoc/dialog_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/dialog_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/dialog_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/dialog_handler_cpptoc.h index 327031bc072..e9c6fbb8c84 100644 --- a/vendor/cef3/libcef_dll/cpptoc/dialog_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/dialog_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/display_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/display_handler_cpptoc.cc index afbfa642240..1a82ef78443 100644 --- a/vendor/cef3/libcef_dll/cpptoc/display_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/display_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/display_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/display_handler_cpptoc.h index 78810c7162f..6798edd26a5 100644 --- a/vendor/cef3/libcef_dll/cpptoc/display_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/display_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/domvisitor_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/domvisitor_cpptoc.cc index 0c2627089d6..1a54ba87bcd 100644 --- a/vendor/cef3/libcef_dll/cpptoc/domvisitor_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/domvisitor_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/domvisitor_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/domvisitor_cpptoc.h index f4e0203213d..827071176b7 100644 --- a/vendor/cef3/libcef_dll/cpptoc/domvisitor_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/domvisitor_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/download_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/download_handler_cpptoc.cc index eeda7669457..8c1bdd0bf7d 100644 --- a/vendor/cef3/libcef_dll/cpptoc/download_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/download_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/download_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/download_handler_cpptoc.h index d672bbdb78c..412ca7ae785 100644 --- a/vendor/cef3/libcef_dll/cpptoc/download_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/download_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/drag_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/drag_handler_cpptoc.cc index 96f22786f15..d7df02aa404 100644 --- a/vendor/cef3/libcef_dll/cpptoc/drag_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/drag_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/drag_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/drag_handler_cpptoc.h index 72e9ceb3437..f51d1bc7ce0 100644 --- a/vendor/cef3/libcef_dll/cpptoc/drag_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/drag_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/end_tracing_callback_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/end_tracing_callback_cpptoc.cc index a1a7c8c6055..05cfba1bd83 100644 --- a/vendor/cef3/libcef_dll/cpptoc/end_tracing_callback_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/end_tracing_callback_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/end_tracing_callback_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/end_tracing_callback_cpptoc.h index 82f2fce99e0..b731feddc08 100644 --- a/vendor/cef3/libcef_dll/cpptoc/end_tracing_callback_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/end_tracing_callback_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/find_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/find_handler_cpptoc.cc index 9ca4301a251..0513ab51584 100644 --- a/vendor/cef3/libcef_dll/cpptoc/find_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/find_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/find_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/find_handler_cpptoc.h index 38bc6ecaac3..b10309ef1fe 100644 --- a/vendor/cef3/libcef_dll/cpptoc/find_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/find_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/focus_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/focus_handler_cpptoc.cc index 0f5fbac088a..506a55ba70f 100644 --- a/vendor/cef3/libcef_dll/cpptoc/focus_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/focus_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/focus_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/focus_handler_cpptoc.h index ee2cfecda4a..a8ebf7ec801 100644 --- a/vendor/cef3/libcef_dll/cpptoc/focus_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/focus_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/geolocation_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/geolocation_handler_cpptoc.cc index 99fc335fa4e..1aca6ce50d8 100644 --- a/vendor/cef3/libcef_dll/cpptoc/geolocation_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/geolocation_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/geolocation_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/geolocation_handler_cpptoc.h index a7355b256af..16463b855c6 100644 --- a/vendor/cef3/libcef_dll/cpptoc/geolocation_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/geolocation_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/get_geolocation_callback_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/get_geolocation_callback_cpptoc.cc index 5b9c16204ea..23a34aba02c 100644 --- a/vendor/cef3/libcef_dll/cpptoc/get_geolocation_callback_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/get_geolocation_callback_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/get_geolocation_callback_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/get_geolocation_callback_cpptoc.h index 24095c16de9..069a505e853 100644 --- a/vendor/cef3/libcef_dll/cpptoc/get_geolocation_callback_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/get_geolocation_callback_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/jsdialog_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/jsdialog_handler_cpptoc.cc index e0da4a7ef10..022e55af598 100644 --- a/vendor/cef3/libcef_dll/cpptoc/jsdialog_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/jsdialog_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/jsdialog_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/jsdialog_handler_cpptoc.h index ccd46210b67..5fc7df21941 100644 --- a/vendor/cef3/libcef_dll/cpptoc/jsdialog_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/jsdialog_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/keyboard_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/keyboard_handler_cpptoc.cc index d569dda0e14..92058559914 100644 --- a/vendor/cef3/libcef_dll/cpptoc/keyboard_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/keyboard_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/keyboard_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/keyboard_handler_cpptoc.h index ad5e34322d9..ace142675eb 100644 --- a/vendor/cef3/libcef_dll/cpptoc/keyboard_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/keyboard_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/life_span_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/life_span_handler_cpptoc.cc index 6e0b8086c50..aacd7358de0 100644 --- a/vendor/cef3/libcef_dll/cpptoc/life_span_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/life_span_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/life_span_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/life_span_handler_cpptoc.h index 577e4539e28..f2b5ccf965e 100644 --- a/vendor/cef3/libcef_dll/cpptoc/life_span_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/life_span_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/load_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/load_handler_cpptoc.cc index 9d27e039af4..b128f9c8692 100644 --- a/vendor/cef3/libcef_dll/cpptoc/load_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/load_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/load_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/load_handler_cpptoc.h index 96ac4d66a15..910d01e4ada 100644 --- a/vendor/cef3/libcef_dll/cpptoc/load_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/load_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/navigation_entry_visitor_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/navigation_entry_visitor_cpptoc.cc index 742363d9668..0cabd0b8630 100644 --- a/vendor/cef3/libcef_dll/cpptoc/navigation_entry_visitor_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/navigation_entry_visitor_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/navigation_entry_visitor_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/navigation_entry_visitor_cpptoc.h index 04c98747dd6..5cd69145fec 100644 --- a/vendor/cef3/libcef_dll/cpptoc/navigation_entry_visitor_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/navigation_entry_visitor_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/pdf_print_callback_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/pdf_print_callback_cpptoc.cc index 717b6129fdb..df5610617a9 100644 --- a/vendor/cef3/libcef_dll/cpptoc/pdf_print_callback_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/pdf_print_callback_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/pdf_print_callback_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/pdf_print_callback_cpptoc.h index db091d3047e..14382b04084 100644 --- a/vendor/cef3/libcef_dll/cpptoc/pdf_print_callback_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/pdf_print_callback_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/print_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/print_handler_cpptoc.cc index b0135875439..6d8002f5153 100644 --- a/vendor/cef3/libcef_dll/cpptoc/print_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/print_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/print_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/print_handler_cpptoc.h index 25587ab72fc..30a9aa5fc4e 100644 --- a/vendor/cef3/libcef_dll/cpptoc/print_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/print_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/read_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/read_handler_cpptoc.cc index d6751e8236f..36b35ee842b 100644 --- a/vendor/cef3/libcef_dll/cpptoc/read_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/read_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/read_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/read_handler_cpptoc.h index 0e94862ed00..f9749350c05 100644 --- a/vendor/cef3/libcef_dll/cpptoc/read_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/read_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/render_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/render_handler_cpptoc.cc index 1bd421068fd..9565b9bf2a3 100644 --- a/vendor/cef3/libcef_dll/cpptoc/render_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/render_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/render_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/render_handler_cpptoc.h index e90bdb00ce8..189f12741c7 100644 --- a/vendor/cef3/libcef_dll/cpptoc/render_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/render_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/render_process_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/render_process_handler_cpptoc.cc index c2fda6e5e27..f5cc0f1fde4 100644 --- a/vendor/cef3/libcef_dll/cpptoc/render_process_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/render_process_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/render_process_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/render_process_handler_cpptoc.h index d81e41767aa..0fd1de199f1 100644 --- a/vendor/cef3/libcef_dll/cpptoc/render_process_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/render_process_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/request_context_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/request_context_handler_cpptoc.cc index 7653019a5b9..0aff8c1951b 100644 --- a/vendor/cef3/libcef_dll/cpptoc/request_context_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/request_context_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/request_context_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/request_context_handler_cpptoc.h index 53560f5aeed..9996027edde 100644 --- a/vendor/cef3/libcef_dll/cpptoc/request_context_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/request_context_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/request_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/request_handler_cpptoc.cc index b5715e7efb3..ae53d1aee0e 100644 --- a/vendor/cef3/libcef_dll/cpptoc/request_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/request_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // @@ -12,6 +12,7 @@ #include "libcef_dll/cpptoc/request_handler_cpptoc.h" #include "libcef_dll/cpptoc/resource_handler_cpptoc.h" +#include "libcef_dll/cpptoc/response_filter_cpptoc.h" #include "libcef_dll/ctocpp/auth_callback_ctocpp.h" #include "libcef_dll/ctocpp/browser_ctocpp.h" #include "libcef_dll/ctocpp/frame_ctocpp.h" @@ -234,6 +235,81 @@ int CEF_CALLBACK request_handler_on_resource_response( return _retval; } +struct _cef_response_filter_t* CEF_CALLBACK request_handler_get_resource_response_filter( + struct _cef_request_handler_t* self, cef_browser_t* browser, + cef_frame_t* frame, cef_request_t* request, + struct _cef_response_t* response) { + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING + + DCHECK(self); + if (!self) + return NULL; + // Verify param: browser; type: refptr_diff + DCHECK(browser); + if (!browser) + return NULL; + // Verify param: frame; type: refptr_diff + DCHECK(frame); + if (!frame) + return NULL; + // Verify param: request; type: refptr_diff + DCHECK(request); + if (!request) + return NULL; + // Verify param: response; type: refptr_diff + DCHECK(response); + if (!response) + return NULL; + + // Execute + CefRefPtr _retval = CefRequestHandlerCppToC::Get( + self)->GetResourceResponseFilter( + CefBrowserCToCpp::Wrap(browser), + CefFrameCToCpp::Wrap(frame), + CefRequestCToCpp::Wrap(request), + CefResponseCToCpp::Wrap(response)); + + // Return type: refptr_same + return CefResponseFilterCppToC::Wrap(_retval); +} + +void CEF_CALLBACK request_handler_on_resource_load_complete( + struct _cef_request_handler_t* self, cef_browser_t* browser, + cef_frame_t* frame, cef_request_t* request, + struct _cef_response_t* response, cef_urlrequest_status_t status, + int64 received_content_length) { + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING + + DCHECK(self); + if (!self) + return; + // Verify param: browser; type: refptr_diff + DCHECK(browser); + if (!browser) + return; + // Verify param: frame; type: refptr_diff + DCHECK(frame); + if (!frame) + return; + // Verify param: request; type: refptr_diff + DCHECK(request); + if (!request) + return; + // Verify param: response; type: refptr_diff + DCHECK(response); + if (!response) + return; + + // Execute + CefRequestHandlerCppToC::Get(self)->OnResourceLoadComplete( + CefBrowserCToCpp::Wrap(browser), + CefFrameCToCpp::Wrap(frame), + CefRequestCToCpp::Wrap(request), + CefResponseCToCpp::Wrap(response), + status, + received_content_length); +} + int CEF_CALLBACK request_handler_get_auth_credentials( struct _cef_request_handler_t* self, cef_browser_t* browser, cef_frame_t* frame, int isProxy, const cef_string_t* host, int port, @@ -256,15 +332,11 @@ int CEF_CALLBACK request_handler_get_auth_credentials( DCHECK(host); if (!host) return 0; - // Verify param: scheme; type: string_byref_const - DCHECK(scheme); - if (!scheme) - return 0; // Verify param: callback; type: refptr_diff DCHECK(callback); if (!callback) return 0; - // Unverified params: realm + // Unverified params: realm, scheme // Execute bool _retval = CefRequestHandlerCppToC::Get(self)->GetAuthCredentials( @@ -460,6 +532,10 @@ CefRequestHandlerCppToC::CefRequestHandlerCppToC() { GetStruct()->get_resource_handler = request_handler_get_resource_handler; GetStruct()->on_resource_redirect = request_handler_on_resource_redirect; GetStruct()->on_resource_response = request_handler_on_resource_response; + GetStruct()->get_resource_response_filter = + request_handler_get_resource_response_filter; + GetStruct()->on_resource_load_complete = + request_handler_on_resource_load_complete; GetStruct()->get_auth_credentials = request_handler_get_auth_credentials; GetStruct()->on_quota_request = request_handler_on_quota_request; GetStruct()->on_protocol_execution = request_handler_on_protocol_execution; diff --git a/vendor/cef3/libcef_dll/cpptoc/request_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/request_handler_cpptoc.h index 4c93625af39..4542fa4c5fd 100644 --- a/vendor/cef3/libcef_dll/cpptoc/request_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/request_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/resource_bundle_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/resource_bundle_handler_cpptoc.cc index 229910aa0b3..3113825c017 100644 --- a/vendor/cef3/libcef_dll/cpptoc/resource_bundle_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/resource_bundle_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/resource_bundle_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/resource_bundle_handler_cpptoc.h index 4fbd878835a..306be457f1f 100644 --- a/vendor/cef3/libcef_dll/cpptoc/resource_bundle_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/resource_bundle_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/resource_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/resource_handler_cpptoc.cc index 592ce0c0703..9a15e232da8 100644 --- a/vendor/cef3/libcef_dll/cpptoc/resource_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/resource_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/resource_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/resource_handler_cpptoc.h index 55b91ef4d2c..a1f57baa31d 100644 --- a/vendor/cef3/libcef_dll/cpptoc/resource_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/resource_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/response_filter_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/response_filter_cpptoc.cc new file mode 100644 index 00000000000..914616960fa --- /dev/null +++ b/vendor/cef3/libcef_dll/cpptoc/response_filter_cpptoc.cc @@ -0,0 +1,107 @@ +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights +// reserved. Use of this source code is governed by a BSD-style license that +// can be found in the LICENSE file. +// +// --------------------------------------------------------------------------- +// +// This file was generated by the CEF translator tool. If making changes by +// hand only do so within the body of existing method and function +// implementations. See the translator.README.txt file in the tools directory +// for more information. +// + +#include "libcef_dll/cpptoc/response_filter_cpptoc.h" + + +namespace { + +// MEMBER FUNCTIONS - Body may be edited by hand. + +int CEF_CALLBACK response_filter_init_filter( + struct _cef_response_filter_t* self) { + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING + + DCHECK(self); + if (!self) + return 0; + + // Execute + bool _retval = CefResponseFilterCppToC::Get(self)->InitFilter(); + + // Return type: bool + return _retval; +} + +cef_response_filter_status_t CEF_CALLBACK response_filter_filter( + struct _cef_response_filter_t* self, void* data_in, size_t data_in_size, + size_t* data_in_read, void* data_out, size_t data_out_size, + size_t* data_out_written) { + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING + + DCHECK(self); + if (!self) + return RESPONSE_FILTER_ERROR; + // Verify param: data_in_read; type: simple_byref + DCHECK(data_in_read); + if (!data_in_read) + return RESPONSE_FILTER_ERROR; + // Verify param: data_out; type: simple_byaddr + DCHECK(data_out); + if (!data_out) + return RESPONSE_FILTER_ERROR; + // Verify param: data_out_written; type: simple_byref + DCHECK(data_out_written); + if (!data_out_written) + return RESPONSE_FILTER_ERROR; + // Unverified params: data_in + + // Translate param: data_in_read; type: simple_byref + size_t data_in_readVal = data_in_read?*data_in_read:0; + // Translate param: data_out_written; type: simple_byref + size_t data_out_writtenVal = data_out_written?*data_out_written:0; + + // Execute + cef_response_filter_status_t _retval = CefResponseFilterCppToC::Get( + self)->Filter( + data_in, + data_in_size, + data_in_readVal, + data_out, + data_out_size, + data_out_writtenVal); + + // Restore param: data_in_read; type: simple_byref + if (data_in_read) + *data_in_read = data_in_readVal; + // Restore param: data_out_written; type: simple_byref + if (data_out_written) + *data_out_written = data_out_writtenVal; + + // Return type: simple + return _retval; +} + +} // namespace + + +// CONSTRUCTOR - Do not edit by hand. + +CefResponseFilterCppToC::CefResponseFilterCppToC() { + GetStruct()->init_filter = response_filter_init_filter; + GetStruct()->filter = response_filter_filter; +} + +template<> CefRefPtr CefCppToC::UnwrapDerived( + CefWrapperType type, cef_response_filter_t* s) { + NOTREACHED() << "Unexpected class type: " << type; + return NULL; +} + +#ifndef NDEBUG +template<> base::AtomicRefCount CefCppToC::DebugObjCt = 0; +#endif + +template<> CefWrapperType CefCppToC::kWrapperType = WT_RESPONSE_FILTER; diff --git a/vendor/cef3/libcef_dll/cpptoc/response_filter_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/response_filter_cpptoc.h new file mode 100644 index 00000000000..cd22f726998 --- /dev/null +++ b/vendor/cef3/libcef_dll/cpptoc/response_filter_cpptoc.h @@ -0,0 +1,35 @@ +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights +// reserved. Use of this source code is governed by a BSD-style license that +// can be found in the LICENSE file. +// +// --------------------------------------------------------------------------- +// +// This file was generated by the CEF translator tool. If making changes by +// hand only do so within the body of existing method and function +// implementations. See the translator.README.txt file in the tools directory +// for more information. +// + +#ifndef CEF_LIBCEF_DLL_CPPTOC_RESPONSE_FILTER_CPPTOC_H_ +#define CEF_LIBCEF_DLL_CPPTOC_RESPONSE_FILTER_CPPTOC_H_ +#pragma once + +#ifndef USING_CEF_SHARED +#pragma message("Warning: "__FILE__" may be accessed wrapper-side only") +#else // USING_CEF_SHARED + +#include "include/cef_response_filter.h" +#include "include/capi/cef_response_filter_capi.h" +#include "libcef_dll/cpptoc/cpptoc.h" + +// Wrap a C++ class with a C structure. +// This class may be instantiated and accessed wrapper-side only. +class CefResponseFilterCppToC + : public CefCppToC { + public: + CefResponseFilterCppToC(); +}; + +#endif // USING_CEF_SHARED +#endif // CEF_LIBCEF_DLL_CPPTOC_RESPONSE_FILTER_CPPTOC_H_ diff --git a/vendor/cef3/libcef_dll/cpptoc/run_file_dialog_callback_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/run_file_dialog_callback_cpptoc.cc index b8fa1b9b96f..d038a5978fc 100644 --- a/vendor/cef3/libcef_dll/cpptoc/run_file_dialog_callback_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/run_file_dialog_callback_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/run_file_dialog_callback_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/run_file_dialog_callback_cpptoc.h index 9ae46ee5db2..ded63d8c019 100644 --- a/vendor/cef3/libcef_dll/cpptoc/run_file_dialog_callback_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/run_file_dialog_callback_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/scheme_handler_factory_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/scheme_handler_factory_cpptoc.cc index e9f125ae18f..50ebb44bab9 100644 --- a/vendor/cef3/libcef_dll/cpptoc/scheme_handler_factory_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/scheme_handler_factory_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/scheme_handler_factory_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/scheme_handler_factory_cpptoc.h index 5508c757803..85e32a47494 100644 --- a/vendor/cef3/libcef_dll/cpptoc/scheme_handler_factory_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/scheme_handler_factory_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/set_cookie_callback_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/set_cookie_callback_cpptoc.cc index f8422926710..094be1ceecd 100644 --- a/vendor/cef3/libcef_dll/cpptoc/set_cookie_callback_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/set_cookie_callback_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/set_cookie_callback_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/set_cookie_callback_cpptoc.h index c1baf1bd8a9..388ba0adfaf 100644 --- a/vendor/cef3/libcef_dll/cpptoc/set_cookie_callback_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/set_cookie_callback_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/string_visitor_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/string_visitor_cpptoc.cc index a33605587a4..906919784aa 100644 --- a/vendor/cef3/libcef_dll/cpptoc/string_visitor_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/string_visitor_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/string_visitor_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/string_visitor_cpptoc.h index 9e078c0140c..16eb7845aa1 100644 --- a/vendor/cef3/libcef_dll/cpptoc/string_visitor_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/string_visitor_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/task_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/task_cpptoc.cc index aed1fbef5e9..f187d18644e 100644 --- a/vendor/cef3/libcef_dll/cpptoc/task_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/task_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/task_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/task_cpptoc.h index 65f0d9f9dfd..544c153c810 100644 --- a/vendor/cef3/libcef_dll/cpptoc/task_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/task_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/urlrequest_client_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/urlrequest_client_cpptoc.cc index 68440114d70..3d417a1cef6 100644 --- a/vendor/cef3/libcef_dll/cpptoc/urlrequest_client_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/urlrequest_client_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/urlrequest_client_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/urlrequest_client_cpptoc.h index d560ac76b47..f2e7232326c 100644 --- a/vendor/cef3/libcef_dll/cpptoc/urlrequest_client_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/urlrequest_client_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/v8accessor_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/v8accessor_cpptoc.cc index a93bf7e1200..f8c49c67f5d 100644 --- a/vendor/cef3/libcef_dll/cpptoc/v8accessor_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/v8accessor_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/v8accessor_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/v8accessor_cpptoc.h index fe8abd06b5e..be661f8bd01 100644 --- a/vendor/cef3/libcef_dll/cpptoc/v8accessor_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/v8accessor_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/v8handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/v8handler_cpptoc.cc index a407dd8baaf..7be3c5a8210 100644 --- a/vendor/cef3/libcef_dll/cpptoc/v8handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/v8handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/v8handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/v8handler_cpptoc.h index 1a18e64b605..3f278fd7291 100644 --- a/vendor/cef3/libcef_dll/cpptoc/v8handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/v8handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/web_plugin_info_visitor_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/web_plugin_info_visitor_cpptoc.cc index d1e2c908aa6..744849aecf4 100644 --- a/vendor/cef3/libcef_dll/cpptoc/web_plugin_info_visitor_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/web_plugin_info_visitor_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/web_plugin_info_visitor_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/web_plugin_info_visitor_cpptoc.h index 28ea294a361..b4e79f70417 100644 --- a/vendor/cef3/libcef_dll/cpptoc/web_plugin_info_visitor_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/web_plugin_info_visitor_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/web_plugin_unstable_callback_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/web_plugin_unstable_callback_cpptoc.cc index bb08ba84955..a60413f43c9 100644 --- a/vendor/cef3/libcef_dll/cpptoc/web_plugin_unstable_callback_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/web_plugin_unstable_callback_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/web_plugin_unstable_callback_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/web_plugin_unstable_callback_cpptoc.h index c89d2d77747..8bdc877242e 100644 --- a/vendor/cef3/libcef_dll/cpptoc/web_plugin_unstable_callback_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/web_plugin_unstable_callback_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/write_handler_cpptoc.cc b/vendor/cef3/libcef_dll/cpptoc/write_handler_cpptoc.cc index 6bbf35d770f..27a9735f2ea 100644 --- a/vendor/cef3/libcef_dll/cpptoc/write_handler_cpptoc.cc +++ b/vendor/cef3/libcef_dll/cpptoc/write_handler_cpptoc.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/cpptoc/write_handler_cpptoc.h b/vendor/cef3/libcef_dll/cpptoc/write_handler_cpptoc.h index ec70395519b..973f18e2b69 100644 --- a/vendor/cef3/libcef_dll/cpptoc/write_handler_cpptoc.h +++ b/vendor/cef3/libcef_dll/cpptoc/write_handler_cpptoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/auth_callback_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/auth_callback_ctocpp.cc index 86709d6e50f..57ee856dbde 100644 --- a/vendor/cef3/libcef_dll/ctocpp/auth_callback_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/auth_callback_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/auth_callback_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/auth_callback_ctocpp.h index 7bc749ea292..a8ad60fc315 100644 --- a/vendor/cef3/libcef_dll/ctocpp/auth_callback_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/auth_callback_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/before_download_callback_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/before_download_callback_ctocpp.cc index 55818d4da70..55265531f8f 100644 --- a/vendor/cef3/libcef_dll/ctocpp/before_download_callback_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/before_download_callback_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/before_download_callback_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/before_download_callback_ctocpp.h index da9e644403f..5598c9260c8 100644 --- a/vendor/cef3/libcef_dll/ctocpp/before_download_callback_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/before_download_callback_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/binary_value_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/binary_value_ctocpp.cc index 414fc566139..0b0a55fe9c4 100644 --- a/vendor/cef3/libcef_dll/ctocpp/binary_value_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/binary_value_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/binary_value_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/binary_value_ctocpp.h index 8520c9267c0..44a74e1d33b 100644 --- a/vendor/cef3/libcef_dll/ctocpp/binary_value_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/binary_value_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/browser_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/browser_ctocpp.cc index 95e268052d9..ae3366e4b48 100644 --- a/vendor/cef3/libcef_dll/ctocpp/browser_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/browser_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/browser_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/browser_ctocpp.h index 3e8f805b209..c33b055eb90 100644 --- a/vendor/cef3/libcef_dll/ctocpp/browser_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/browser_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/browser_host_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/browser_host_ctocpp.cc index 6d7e047ef2a..1629b6e903b 100644 --- a/vendor/cef3/libcef_dll/ctocpp/browser_host_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/browser_host_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/browser_host_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/browser_host_ctocpp.h index 6cdff7e19c9..e2a19acb627 100644 --- a/vendor/cef3/libcef_dll/ctocpp/browser_host_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/browser_host_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/callback_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/callback_ctocpp.cc index 7a73e1d6534..0d5271598fa 100644 --- a/vendor/cef3/libcef_dll/ctocpp/callback_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/callback_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/callback_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/callback_ctocpp.h index d2dc91642f6..e70543e4e14 100644 --- a/vendor/cef3/libcef_dll/ctocpp/callback_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/callback_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/command_line_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/command_line_ctocpp.cc index c7059d0859c..f4b8b850fc7 100644 --- a/vendor/cef3/libcef_dll/ctocpp/command_line_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/command_line_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/command_line_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/command_line_ctocpp.h index 913c71b78f6..fdb1f0da7c9 100644 --- a/vendor/cef3/libcef_dll/ctocpp/command_line_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/command_line_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/context_menu_params_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/context_menu_params_ctocpp.cc index a240df8ca4a..8f70f2c7e41 100644 --- a/vendor/cef3/libcef_dll/ctocpp/context_menu_params_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/context_menu_params_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/context_menu_params_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/context_menu_params_ctocpp.h index 1b0ad4f853b..24e8b8fa093 100644 --- a/vendor/cef3/libcef_dll/ctocpp/context_menu_params_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/context_menu_params_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/cookie_manager_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/cookie_manager_ctocpp.cc index 9533bf3e850..f3f8130ba4b 100644 --- a/vendor/cef3/libcef_dll/ctocpp/cookie_manager_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/cookie_manager_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/cookie_manager_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/cookie_manager_ctocpp.h index a03db4b7d7c..6316282d17a 100644 --- a/vendor/cef3/libcef_dll/ctocpp/cookie_manager_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/cookie_manager_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/dictionary_value_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/dictionary_value_ctocpp.cc index e51d99b22ab..0702830b06d 100644 --- a/vendor/cef3/libcef_dll/ctocpp/dictionary_value_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/dictionary_value_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/dictionary_value_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/dictionary_value_ctocpp.h index 527451b6e01..496610cd3ed 100644 --- a/vendor/cef3/libcef_dll/ctocpp/dictionary_value_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/dictionary_value_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/domdocument_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/domdocument_ctocpp.cc index 59c697758a1..0e3e35c2a78 100644 --- a/vendor/cef3/libcef_dll/ctocpp/domdocument_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/domdocument_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/domdocument_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/domdocument_ctocpp.h index beda6ad9e6e..d05a2670edc 100644 --- a/vendor/cef3/libcef_dll/ctocpp/domdocument_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/domdocument_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/domnode_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/domnode_ctocpp.cc index 5c7e938bdaf..c327d80cb90 100644 --- a/vendor/cef3/libcef_dll/ctocpp/domnode_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/domnode_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/domnode_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/domnode_ctocpp.h index 18e5f5360cf..6321c9209ca 100644 --- a/vendor/cef3/libcef_dll/ctocpp/domnode_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/domnode_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/download_item_callback_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/download_item_callback_ctocpp.cc index a4a50634f6c..2f6e0669a85 100644 --- a/vendor/cef3/libcef_dll/ctocpp/download_item_callback_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/download_item_callback_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/download_item_callback_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/download_item_callback_ctocpp.h index 597c77f583f..9d5301a76aa 100644 --- a/vendor/cef3/libcef_dll/ctocpp/download_item_callback_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/download_item_callback_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/download_item_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/download_item_ctocpp.cc index c3283c7e16d..65f5ffa8343 100644 --- a/vendor/cef3/libcef_dll/ctocpp/download_item_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/download_item_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/download_item_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/download_item_ctocpp.h index 26b3a534202..616be10552e 100644 --- a/vendor/cef3/libcef_dll/ctocpp/download_item_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/download_item_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/drag_data_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/drag_data_ctocpp.cc index e36f896b633..08c3ef22385 100644 --- a/vendor/cef3/libcef_dll/ctocpp/drag_data_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/drag_data_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/drag_data_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/drag_data_ctocpp.h index b837d28e72d..225f57a19cc 100644 --- a/vendor/cef3/libcef_dll/ctocpp/drag_data_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/drag_data_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/file_dialog_callback_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/file_dialog_callback_ctocpp.cc index 0ca054590b2..cecebb214cb 100644 --- a/vendor/cef3/libcef_dll/ctocpp/file_dialog_callback_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/file_dialog_callback_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/file_dialog_callback_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/file_dialog_callback_ctocpp.h index 779cf9da27b..bb98f15ea90 100644 --- a/vendor/cef3/libcef_dll/ctocpp/file_dialog_callback_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/file_dialog_callback_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/frame_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/frame_ctocpp.cc index 037f67c11d6..7024adb68e1 100644 --- a/vendor/cef3/libcef_dll/ctocpp/frame_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/frame_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/frame_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/frame_ctocpp.h index 3f6192c7acb..dde6c71d44f 100644 --- a/vendor/cef3/libcef_dll/ctocpp/frame_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/frame_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/geolocation_callback_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/geolocation_callback_ctocpp.cc index f676dc3a607..d9a0c39c020 100644 --- a/vendor/cef3/libcef_dll/ctocpp/geolocation_callback_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/geolocation_callback_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/geolocation_callback_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/geolocation_callback_ctocpp.h index 2e649d262e2..cdaa2a9acad 100644 --- a/vendor/cef3/libcef_dll/ctocpp/geolocation_callback_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/geolocation_callback_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/jsdialog_callback_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/jsdialog_callback_ctocpp.cc index b9aaa4a9d48..14697b776b6 100644 --- a/vendor/cef3/libcef_dll/ctocpp/jsdialog_callback_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/jsdialog_callback_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/jsdialog_callback_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/jsdialog_callback_ctocpp.h index e6016a1de72..3acbf84a2f2 100644 --- a/vendor/cef3/libcef_dll/ctocpp/jsdialog_callback_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/jsdialog_callback_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/list_value_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/list_value_ctocpp.cc index 9ec3c8ab301..c60fe9e17ee 100644 --- a/vendor/cef3/libcef_dll/ctocpp/list_value_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/list_value_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/list_value_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/list_value_ctocpp.h index 84835551e62..9190214880e 100644 --- a/vendor/cef3/libcef_dll/ctocpp/list_value_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/list_value_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/menu_model_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/menu_model_ctocpp.cc index 4d98bea55e8..24ac934c10a 100644 --- a/vendor/cef3/libcef_dll/ctocpp/menu_model_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/menu_model_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/menu_model_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/menu_model_ctocpp.h index c4787f69a95..14585cfd1c7 100644 --- a/vendor/cef3/libcef_dll/ctocpp/menu_model_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/menu_model_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/navigation_entry_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/navigation_entry_ctocpp.cc index c4642960200..286ee1406de 100644 --- a/vendor/cef3/libcef_dll/ctocpp/navigation_entry_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/navigation_entry_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/navigation_entry_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/navigation_entry_ctocpp.h index e2950352da5..56df51e5b0e 100644 --- a/vendor/cef3/libcef_dll/ctocpp/navigation_entry_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/navigation_entry_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/post_data_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/post_data_ctocpp.cc index a21f9a69141..ee692084fcc 100644 --- a/vendor/cef3/libcef_dll/ctocpp/post_data_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/post_data_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // @@ -44,6 +44,20 @@ bool CefPostDataCToCpp::IsReadOnly() { return _retval?true:false; } +bool CefPostDataCToCpp::HasExcludedElements() { + cef_post_data_t* _struct = GetStruct(); + if (CEF_MEMBER_MISSING(_struct, has_excluded_elements)) + return false; + + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING + + // Execute + int _retval = _struct->has_excluded_elements(_struct); + + // Return type: bool + return _retval?true:false; +} + size_t CefPostDataCToCpp::GetElementCount() { cef_post_data_t* _struct = GetStruct(); if (CEF_MEMBER_MISSING(_struct, get_element_count)) diff --git a/vendor/cef3/libcef_dll/ctocpp/post_data_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/post_data_ctocpp.h index b8452b03d56..d57a0f87dad 100644 --- a/vendor/cef3/libcef_dll/ctocpp/post_data_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/post_data_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // @@ -31,6 +31,7 @@ class CefPostDataCToCpp // CefPostData methods. bool IsReadOnly() OVERRIDE; + bool HasExcludedElements() OVERRIDE; size_t GetElementCount() OVERRIDE; void GetElements(ElementVector& elements) OVERRIDE; bool RemoveElement(CefRefPtr element) OVERRIDE; diff --git a/vendor/cef3/libcef_dll/ctocpp/post_data_element_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/post_data_element_ctocpp.cc index aa54832ac64..074bc4ffc50 100644 --- a/vendor/cef3/libcef_dll/ctocpp/post_data_element_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/post_data_element_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/post_data_element_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/post_data_element_ctocpp.h index 159ff508009..0a6f0498431 100644 --- a/vendor/cef3/libcef_dll/ctocpp/post_data_element_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/post_data_element_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/print_dialog_callback_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/print_dialog_callback_ctocpp.cc index 7a33ff2f3b6..cc35c9d766d 100644 --- a/vendor/cef3/libcef_dll/ctocpp/print_dialog_callback_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/print_dialog_callback_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/print_dialog_callback_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/print_dialog_callback_ctocpp.h index 2e94c8fc2a1..6da471b5a4b 100644 --- a/vendor/cef3/libcef_dll/ctocpp/print_dialog_callback_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/print_dialog_callback_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/print_job_callback_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/print_job_callback_ctocpp.cc index e513d47650b..dc0eea7f34d 100644 --- a/vendor/cef3/libcef_dll/ctocpp/print_job_callback_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/print_job_callback_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/print_job_callback_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/print_job_callback_ctocpp.h index f2b8c29c0b9..27491944883 100644 --- a/vendor/cef3/libcef_dll/ctocpp/print_job_callback_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/print_job_callback_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/print_settings_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/print_settings_ctocpp.cc index 2c083c94fad..afe55ad0597 100644 --- a/vendor/cef3/libcef_dll/ctocpp/print_settings_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/print_settings_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/print_settings_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/print_settings_ctocpp.h index 3939ef0af55..018be1a0601 100644 --- a/vendor/cef3/libcef_dll/ctocpp/print_settings_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/print_settings_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/process_message_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/process_message_ctocpp.cc index abcd0bc47d3..9d055f7f28c 100644 --- a/vendor/cef3/libcef_dll/ctocpp/process_message_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/process_message_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/process_message_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/process_message_ctocpp.h index d90dd620ffd..9abc214377f 100644 --- a/vendor/cef3/libcef_dll/ctocpp/process_message_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/process_message_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/request_callback_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/request_callback_ctocpp.cc index 590c7a2aae2..84d760241e1 100644 --- a/vendor/cef3/libcef_dll/ctocpp/request_callback_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/request_callback_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/request_callback_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/request_callback_ctocpp.h index d32d8fe6b54..21314db9cb8 100644 --- a/vendor/cef3/libcef_dll/ctocpp/request_callback_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/request_callback_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/request_context_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/request_context_ctocpp.cc index bdbe9080c63..1b22e6f1898 100644 --- a/vendor/cef3/libcef_dll/ctocpp/request_context_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/request_context_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/request_context_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/request_context_ctocpp.h index 10b58681fd2..1f83d55b80a 100644 --- a/vendor/cef3/libcef_dll/ctocpp/request_context_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/request_context_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/request_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/request_ctocpp.cc index 253b1c4dcb2..8a2ca24ec5c 100644 --- a/vendor/cef3/libcef_dll/ctocpp/request_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/request_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // @@ -110,6 +110,55 @@ void CefRequestCToCpp::SetMethod(const CefString& method) { method.GetStruct()); } +void CefRequestCToCpp::SetReferrer(const CefString& referrer_url, + ReferrerPolicy policy) { + cef_request_t* _struct = GetStruct(); + if (CEF_MEMBER_MISSING(_struct, set_referrer)) + return; + + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING + + // Verify param: referrer_url; type: string_byref_const + DCHECK(!referrer_url.empty()); + if (referrer_url.empty()) + return; + + // Execute + _struct->set_referrer(_struct, + referrer_url.GetStruct(), + policy); +} + +CefString CefRequestCToCpp::GetReferrerURL() { + cef_request_t* _struct = GetStruct(); + if (CEF_MEMBER_MISSING(_struct, get_referrer_url)) + return CefString(); + + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING + + // Execute + cef_string_userfree_t _retval = _struct->get_referrer_url(_struct); + + // Return type: string + CefString _retvalStr; + _retvalStr.AttachToUserFree(_retval); + return _retvalStr; +} + +CefRequest::ReferrerPolicy CefRequestCToCpp::GetReferrerPolicy() { + cef_request_t* _struct = GetStruct(); + if (CEF_MEMBER_MISSING(_struct, get_referrer_policy)) + return REFERRER_POLICY_DEFAULT; + + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING + + // Execute + cef_referrer_policy_t _retval = _struct->get_referrer_policy(_struct); + + // Return type: simple + return _retval; +} + CefRefPtr CefRequestCToCpp::GetPostData() { cef_request_t* _struct = GetStruct(); if (CEF_MEMBER_MISSING(_struct, get_post_data)) diff --git a/vendor/cef3/libcef_dll/ctocpp/request_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/request_ctocpp.h index 95a76aa4e5b..663a8c37788 100644 --- a/vendor/cef3/libcef_dll/ctocpp/request_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/request_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // @@ -35,6 +35,10 @@ class CefRequestCToCpp void SetURL(const CefString& url) OVERRIDE; CefString GetMethod() OVERRIDE; void SetMethod(const CefString& method) OVERRIDE; + void SetReferrer(const CefString& referrer_url, + ReferrerPolicy policy) OVERRIDE; + CefString GetReferrerURL() OVERRIDE; + ReferrerPolicy GetReferrerPolicy() OVERRIDE; CefRefPtr GetPostData() OVERRIDE; void SetPostData(CefRefPtr postData) OVERRIDE; void GetHeaderMap(HeaderMap& headerMap) OVERRIDE; diff --git a/vendor/cef3/libcef_dll/ctocpp/resource_bundle_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/resource_bundle_ctocpp.cc index f050682c46d..1f8eb5779d5 100644 --- a/vendor/cef3/libcef_dll/ctocpp/resource_bundle_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/resource_bundle_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/resource_bundle_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/resource_bundle_ctocpp.h index e7cf0cb4ae5..0ada75fa66f 100644 --- a/vendor/cef3/libcef_dll/ctocpp/resource_bundle_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/resource_bundle_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/response_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/response_ctocpp.cc index 83e17bea102..3fd299fee86 100644 --- a/vendor/cef3/libcef_dll/ctocpp/response_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/response_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/response_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/response_ctocpp.h index 6d102e36724..e2f2eeb756b 100644 --- a/vendor/cef3/libcef_dll/ctocpp/response_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/response_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/run_context_menu_callback_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/run_context_menu_callback_ctocpp.cc index 1a534c6f575..88e65959593 100644 --- a/vendor/cef3/libcef_dll/ctocpp/run_context_menu_callback_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/run_context_menu_callback_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/run_context_menu_callback_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/run_context_menu_callback_ctocpp.h index fd44bcf44cb..a96acc6f3dc 100644 --- a/vendor/cef3/libcef_dll/ctocpp/run_context_menu_callback_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/run_context_menu_callback_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/scheme_registrar_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/scheme_registrar_ctocpp.cc index 03d9b0099b3..a2d20c04e0d 100644 --- a/vendor/cef3/libcef_dll/ctocpp/scheme_registrar_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/scheme_registrar_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/scheme_registrar_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/scheme_registrar_ctocpp.h index c2a60215b36..ea66e63299a 100644 --- a/vendor/cef3/libcef_dll/ctocpp/scheme_registrar_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/scheme_registrar_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/sslcert_principal_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/sslcert_principal_ctocpp.cc index 8df8bc77a28..90bb72b59dc 100644 --- a/vendor/cef3/libcef_dll/ctocpp/sslcert_principal_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/sslcert_principal_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/sslcert_principal_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/sslcert_principal_ctocpp.h index 1bfa9ee770b..19ece7d29a6 100644 --- a/vendor/cef3/libcef_dll/ctocpp/sslcert_principal_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/sslcert_principal_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/sslinfo_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/sslinfo_ctocpp.cc index 2bf3a819a9f..67155e83308 100644 --- a/vendor/cef3/libcef_dll/ctocpp/sslinfo_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/sslinfo_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // @@ -10,6 +10,7 @@ // for more information. // +#include #include "libcef_dll/ctocpp/binary_value_ctocpp.h" #include "libcef_dll/ctocpp/sslcert_principal_ctocpp.h" #include "libcef_dll/ctocpp/sslinfo_ctocpp.h" @@ -17,6 +18,48 @@ // VIRTUAL METHODS - Body may be edited by hand. +cef_cert_status_t CefSSLInfoCToCpp::GetCertStatus() { + cef_sslinfo_t* _struct = GetStruct(); + if (CEF_MEMBER_MISSING(_struct, get_cert_status)) + return CERT_STATUS_NONE; + + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING + + // Execute + cef_cert_status_t _retval = _struct->get_cert_status(_struct); + + // Return type: simple + return _retval; +} + +bool CefSSLInfoCToCpp::IsCertStatusError() { + cef_sslinfo_t* _struct = GetStruct(); + if (CEF_MEMBER_MISSING(_struct, is_cert_status_error)) + return false; + + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING + + // Execute + int _retval = _struct->is_cert_status_error(_struct); + + // Return type: bool + return _retval?true:false; +} + +bool CefSSLInfoCToCpp::IsCertStatusMinorError() { + cef_sslinfo_t* _struct = GetStruct(); + if (CEF_MEMBER_MISSING(_struct, is_cert_status_minor_error)) + return false; + + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING + + // Execute + int _retval = _struct->is_cert_status_minor_error(_struct); + + // Return type: bool + return _retval?true:false; +} + CefRefPtr CefSSLInfoCToCpp::GetSubject() { cef_sslinfo_t* _struct = GetStruct(); if (CEF_MEMBER_MISSING(_struct, get_subject)) @@ -115,6 +158,98 @@ CefRefPtr CefSSLInfoCToCpp::GetPEMEncoded() { return CefBinaryValueCToCpp::Wrap(_retval); } +size_t CefSSLInfoCToCpp::GetIssuerChainSize() { + cef_sslinfo_t* _struct = GetStruct(); + if (CEF_MEMBER_MISSING(_struct, get_issuer_chain_size)) + return 0; + + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING + + // Execute + size_t _retval = _struct->get_issuer_chain_size(_struct); + + // Return type: simple + return _retval; +} + +void CefSSLInfoCToCpp::GetDEREncodedIssuerChain(IssuerChainBinaryList& chain) { + cef_sslinfo_t* _struct = GetStruct(); + if (CEF_MEMBER_MISSING(_struct, get_derencoded_issuer_chain)) + return; + + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING + + // Translate param: chain; type: refptr_vec_same_byref + size_t chainSize = chain.size(); + size_t chainCount = std::max(GetIssuerChainSize(), chainSize); + cef_binary_value_t** chainList = NULL; + if (chainCount > 0) { + chainList = new cef_binary_value_t*[chainCount]; + DCHECK(chainList); + if (chainList) { + memset(chainList, 0, sizeof(cef_binary_value_t*)*chainCount); + } + if (chainList && chainSize > 0) { + for (size_t i = 0; i < chainSize; ++i) { + chainList[i] = CefBinaryValueCToCpp::Unwrap(chain[i]); + } + } + } + + // Execute + _struct->get_derencoded_issuer_chain(_struct, + &chainCount, + chainList); + + // Restore param:chain; type: refptr_vec_same_byref + chain.clear(); + if (chainCount > 0 && chainList) { + for (size_t i = 0; i < chainCount; ++i) { + chain.push_back(CefBinaryValueCToCpp::Wrap(chainList[i])); + } + delete [] chainList; + } +} + +void CefSSLInfoCToCpp::GetPEMEncodedIssuerChain(IssuerChainBinaryList& chain) { + cef_sslinfo_t* _struct = GetStruct(); + if (CEF_MEMBER_MISSING(_struct, get_pemencoded_issuer_chain)) + return; + + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING + + // Translate param: chain; type: refptr_vec_same_byref + size_t chainSize = chain.size(); + size_t chainCount = std::max(GetIssuerChainSize(), chainSize); + cef_binary_value_t** chainList = NULL; + if (chainCount > 0) { + chainList = new cef_binary_value_t*[chainCount]; + DCHECK(chainList); + if (chainList) { + memset(chainList, 0, sizeof(cef_binary_value_t*)*chainCount); + } + if (chainList && chainSize > 0) { + for (size_t i = 0; i < chainSize; ++i) { + chainList[i] = CefBinaryValueCToCpp::Unwrap(chain[i]); + } + } + } + + // Execute + _struct->get_pemencoded_issuer_chain(_struct, + &chainCount, + chainList); + + // Restore param:chain; type: refptr_vec_same_byref + chain.clear(); + if (chainCount > 0 && chainList) { + for (size_t i = 0; i < chainCount; ++i) { + chain.push_back(CefBinaryValueCToCpp::Wrap(chainList[i])); + } + delete [] chainList; + } +} + // CONSTRUCTOR - Do not edit by hand. diff --git a/vendor/cef3/libcef_dll/ctocpp/sslinfo_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/sslinfo_ctocpp.h index 4682574237a..7fc487c8db8 100644 --- a/vendor/cef3/libcef_dll/ctocpp/sslinfo_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/sslinfo_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // @@ -30,6 +30,9 @@ class CefSSLInfoCToCpp CefSSLInfoCToCpp(); // CefSSLInfo methods. + cef_cert_status_t GetCertStatus() OVERRIDE; + bool IsCertStatusError() OVERRIDE; + bool IsCertStatusMinorError() OVERRIDE; CefRefPtr GetSubject() OVERRIDE; CefRefPtr GetIssuer() OVERRIDE; CefRefPtr GetSerialNumber() OVERRIDE; @@ -37,6 +40,9 @@ class CefSSLInfoCToCpp CefTime GetValidExpiry() OVERRIDE; CefRefPtr GetDEREncoded() OVERRIDE; CefRefPtr GetPEMEncoded() OVERRIDE; + size_t GetIssuerChainSize() OVERRIDE; + void GetDEREncodedIssuerChain(IssuerChainBinaryList& chain) OVERRIDE; + void GetPEMEncodedIssuerChain(IssuerChainBinaryList& chain) OVERRIDE; }; #endif // USING_CEF_SHARED diff --git a/vendor/cef3/libcef_dll/ctocpp/stream_reader_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/stream_reader_ctocpp.cc index 433e10ad806..1a9821ebdc5 100644 --- a/vendor/cef3/libcef_dll/ctocpp/stream_reader_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/stream_reader_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/stream_reader_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/stream_reader_ctocpp.h index b9b3fd308d0..0751cd57a44 100644 --- a/vendor/cef3/libcef_dll/ctocpp/stream_reader_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/stream_reader_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/stream_writer_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/stream_writer_ctocpp.cc index 2e7ef147e33..802b98d102d 100644 --- a/vendor/cef3/libcef_dll/ctocpp/stream_writer_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/stream_writer_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/stream_writer_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/stream_writer_ctocpp.h index fd923d5796e..fb6ae06e5d2 100644 --- a/vendor/cef3/libcef_dll/ctocpp/stream_writer_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/stream_writer_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/task_runner_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/task_runner_ctocpp.cc index d906e521458..8744d9d3f9d 100644 --- a/vendor/cef3/libcef_dll/ctocpp/task_runner_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/task_runner_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/task_runner_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/task_runner_ctocpp.h index ad264d01e39..10a7b1969bb 100644 --- a/vendor/cef3/libcef_dll/ctocpp/task_runner_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/task_runner_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/urlrequest_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/urlrequest_ctocpp.cc index c8412f5642e..e4e54c023ca 100644 --- a/vendor/cef3/libcef_dll/ctocpp/urlrequest_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/urlrequest_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/urlrequest_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/urlrequest_ctocpp.h index 8cb9b7f8ac5..35bcb76e4fd 100644 --- a/vendor/cef3/libcef_dll/ctocpp/urlrequest_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/urlrequest_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/v8context_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/v8context_ctocpp.cc index e10b1ec296e..4f3779ea561 100644 --- a/vendor/cef3/libcef_dll/ctocpp/v8context_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/v8context_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/v8context_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/v8context_ctocpp.h index 6f833143d3f..4c5cd421ae5 100644 --- a/vendor/cef3/libcef_dll/ctocpp/v8context_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/v8context_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/v8exception_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/v8exception_ctocpp.cc index 836907303b6..268193104bd 100644 --- a/vendor/cef3/libcef_dll/ctocpp/v8exception_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/v8exception_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/v8exception_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/v8exception_ctocpp.h index 2a19ac6f3a7..80470070bfc 100644 --- a/vendor/cef3/libcef_dll/ctocpp/v8exception_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/v8exception_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/v8stack_frame_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/v8stack_frame_ctocpp.cc index f982ca21f50..ded7a07dafb 100644 --- a/vendor/cef3/libcef_dll/ctocpp/v8stack_frame_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/v8stack_frame_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/v8stack_frame_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/v8stack_frame_ctocpp.h index 2e05f3dccce..cccca9e3b7f 100644 --- a/vendor/cef3/libcef_dll/ctocpp/v8stack_frame_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/v8stack_frame_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/v8stack_trace_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/v8stack_trace_ctocpp.cc index a164ccece07..1efc3a38ee9 100644 --- a/vendor/cef3/libcef_dll/ctocpp/v8stack_trace_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/v8stack_trace_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/v8stack_trace_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/v8stack_trace_ctocpp.h index 92a88111f5d..068ef05ceb0 100644 --- a/vendor/cef3/libcef_dll/ctocpp/v8stack_trace_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/v8stack_trace_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/v8value_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/v8value_ctocpp.cc index 27c88662b87..377e251d339 100644 --- a/vendor/cef3/libcef_dll/ctocpp/v8value_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/v8value_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/v8value_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/v8value_ctocpp.h index 7a8409ccffc..e230034092a 100644 --- a/vendor/cef3/libcef_dll/ctocpp/v8value_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/v8value_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/value_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/value_ctocpp.cc index 6443fde28af..a7506217bb2 100644 --- a/vendor/cef3/libcef_dll/ctocpp/value_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/value_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/value_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/value_ctocpp.h index 248de038618..e4d76cfeb4c 100644 --- a/vendor/cef3/libcef_dll/ctocpp/value_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/value_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/web_plugin_info_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/web_plugin_info_ctocpp.cc index 6a121336739..4bc17193886 100644 --- a/vendor/cef3/libcef_dll/ctocpp/web_plugin_info_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/web_plugin_info_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/web_plugin_info_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/web_plugin_info_ctocpp.h index afcc4628554..96a65442fa4 100644 --- a/vendor/cef3/libcef_dll/ctocpp/web_plugin_info_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/web_plugin_info_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/xml_reader_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/xml_reader_ctocpp.cc index c3483a4840d..a68ec9c2186 100644 --- a/vendor/cef3/libcef_dll/ctocpp/xml_reader_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/xml_reader_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/xml_reader_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/xml_reader_ctocpp.h index a61116637d9..84a8e17b985 100644 --- a/vendor/cef3/libcef_dll/ctocpp/xml_reader_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/xml_reader_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/zip_reader_ctocpp.cc b/vendor/cef3/libcef_dll/ctocpp/zip_reader_ctocpp.cc index 297af3d1969..6a7a566184a 100644 --- a/vendor/cef3/libcef_dll/ctocpp/zip_reader_ctocpp.cc +++ b/vendor/cef3/libcef_dll/ctocpp/zip_reader_ctocpp.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/ctocpp/zip_reader_ctocpp.h b/vendor/cef3/libcef_dll/ctocpp/zip_reader_ctocpp.h index cfdff02b1f3..f2f6cffde97 100644 --- a/vendor/cef3/libcef_dll/ctocpp/zip_reader_ctocpp.h +++ b/vendor/cef3/libcef_dll/ctocpp/zip_reader_ctocpp.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // diff --git a/vendor/cef3/libcef_dll/wrapper/libcef_dll_wrapper.cc b/vendor/cef3/libcef_dll/wrapper/libcef_dll_wrapper.cc index 624c1b39b62..61f58b00f34 100644 --- a/vendor/cef3/libcef_dll/wrapper/libcef_dll_wrapper.cc +++ b/vendor/cef3/libcef_dll/wrapper/libcef_dll_wrapper.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // @@ -62,6 +62,7 @@ #include "libcef_dll/cpptoc/request_handler_cpptoc.h" #include "libcef_dll/cpptoc/resource_bundle_handler_cpptoc.h" #include "libcef_dll/cpptoc/resource_handler_cpptoc.h" +#include "libcef_dll/cpptoc/response_filter_cpptoc.h" #include "libcef_dll/cpptoc/run_file_dialog_callback_cpptoc.h" #include "libcef_dll/cpptoc/scheme_handler_factory_cpptoc.h" #include "libcef_dll/cpptoc/set_cookie_callback_cpptoc.h" @@ -241,6 +242,7 @@ CEF_GLOBAL void CefShutdown() { DCHECK(base::AtomicRefCountIsZero( &CefResourceBundleHandlerCppToC::DebugObjCt)); DCHECK(base::AtomicRefCountIsZero(&CefResourceHandlerCppToC::DebugObjCt)); + DCHECK(base::AtomicRefCountIsZero(&CefResponseFilterCppToC::DebugObjCt)); DCHECK(base::AtomicRefCountIsZero( &CefRunContextMenuCallbackCToCpp::DebugObjCt)); DCHECK(base::AtomicRefCountIsZero( diff --git a/vendor/cef3/libcef_dll/wrapper_types.h b/vendor/cef3/libcef_dll/wrapper_types.h index e33cf750b3a..df0de796d8d 100644 --- a/vendor/cef3/libcef_dll/wrapper_types.h +++ b/vendor/cef3/libcef_dll/wrapper_types.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights +// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // @@ -80,6 +80,7 @@ enum CefWrapperType { WT_RESOURCE_BUNDLE_HANDLER, WT_RESOURCE_HANDLER, WT_RESPONSE, + WT_RESPONSE_FILTER, WT_RUN_CONTEXT_MENU_CALLBACK, WT_RUN_FILE_DIALOG_CALLBACK, WT_SSLCERT_PRINCIPAL, diff --git a/vendor/cef3/libcef_dll_wrapper.vcxproj b/vendor/cef3/libcef_dll_wrapper.vcxproj index deeeb5e58c7..c03ee083a53 100644 --- a/vendor/cef3/libcef_dll_wrapper.vcxproj +++ b/vendor/cef3/libcef_dll_wrapper.vcxproj @@ -275,6 +275,7 @@ + @@ -282,6 +283,7 @@ + @@ -417,6 +419,7 @@ + @@ -528,6 +531,7 @@ + diff --git a/vendor/cef3/libcef_dll_wrapper.vcxproj.filters b/vendor/cef3/libcef_dll_wrapper.vcxproj.filters index 221918e1de8..1ad7c8520b2 100644 --- a/vendor/cef3/libcef_dll_wrapper.vcxproj.filters +++ b/vendor/cef3/libcef_dll_wrapper.vcxproj.filters @@ -3097,6 +3097,15 @@ libcef_dll + + include\capi + + + include + + + libcef_dll\cpptoc + @@ -3138,5 +3147,8 @@ libcef_dll\ctocpp + + libcef_dll\cpptoc + \ No newline at end of file