code
stringlengths
1
1.05M
repo_name
stringlengths
6
83
path
stringlengths
3
242
language
stringclasses
222 values
license
stringclasses
20 values
size
int64
1
1.05M
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_NO_STATE_PREFETCH_PRERENDER_CONTROLLER_IMPL_H_ #define WEBLAYER_BROWSER_NO_STATE_PREFETCH_PRERENDER_CONTROLLER_IMPL_H_ #include "base/memory/raw_ptr.h...
Zhao-PengFei35/chromium_src_4
weblayer/browser/no_state_prefetch/prerender_controller_impl.h
C++
unknown
1,348
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/no_state_prefetch/prerender_tab_helper.h" #include "components/no_state_prefetch/browser/no_state_prefetch_manager.h" #include "content/public/brows...
Zhao-PengFei35/chromium_src_4
weblayer/browser/no_state_prefetch/prerender_tab_helper.cc
C++
unknown
1,349
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_NO_STATE_PREFETCH_PRERENDER_TAB_HELPER_H_ #define WEBLAYER_BROWSER_NO_STATE_PREFETCH_PRERENDER_TAB_HELPER_H_ #include "content/public/browser/web_cont...
Zhao-PengFei35/chromium_src_4
weblayer/browser/no_state_prefetch/prerender_tab_helper.h
C++
unknown
1,317
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <string> #include "base/containers/flat_set.h" #include "base/functional/bind.h" #include "base/strings/strcat.h" #include "base/test/scoped_fea...
Zhao-PengFei35/chromium_src_4
weblayer/browser/origin_trials_browsertest.cc
C++
unknown
6,159
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/origin_trials_factory.h" #include "components/keyed_service/content/browser_context_dependency_manager.h" #include "components...
Zhao-PengFei35/chromium_src_4
weblayer/browser/origin_trials_factory.cc
C++
unknown
1,985
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_ORIGIN_TRIALS_FACTORY_H_ #define WEBLAYER_BROWSER_ORIGIN_TRIALS_FACTORY_H_ #include "base/no_destructor.h" #include "components/...
Zhao-PengFei35/chromium_src_4
weblayer/browser/origin_trials_factory.h
C++
unknown
1,313
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <memory> #include "base/test/scoped_feature_list.h" #include "build/build_config.h" #include "components/page_load_metrics/browser/observers/ad_metrics/ad_interventio...
Zhao-PengFei35/chromium_src_4
weblayer/browser/overlay_popup_ad_intervention_browsertest.cc
C++
unknown
7,121
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/page_impl.h" #include "build/build_config.h" #include "content/public/browser/page.h" #include "content/public/browser/web_contents.h" #include "web...
Zhao-PengFei35/chromium_src_4
weblayer/browser/page_impl.cc
C++
unknown
1,451
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_PAGE_IMPL_H_ #define WEBLAYER_BROWSER_PAGE_IMPL_H_ #include "build/build_config.h" #include "content/public/browser/page_user_data.h" #include "weblay...
Zhao-PengFei35/chromium_src_4
weblayer/browser/page_impl.h
C++
unknown
1,145
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/test/bind.h" #include "base/test/metrics/histogram_tester.h" #include "build/build_config.h" #include "components/page_load_metrics/browser/page_load_metrics_obs...
Zhao-PengFei35/chromium_src_4
weblayer/browser/page_load_metrics_browsertest.cc
C++
unknown
4,280
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/page_load_metrics_initialize.h" #include <memory> #include <utility> #include "base/functional/bind.h" #include "components/page_load_metrics/brows...
Zhao-PengFei35/chromium_src_4
weblayer/browser/page_load_metrics_initialize.cc
C++
unknown
4,205
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_PAGE_LOAD_METRICS_INITIALIZE_H_ #define WEBLAYER_BROWSER_PAGE_LOAD_METRICS_INITIALIZE_H_ #include "base/functional/callback_forward.h" namespace cont...
Zhao-PengFei35/chromium_src_4
weblayer/browser/page_load_metrics_initialize.h
C++
unknown
853
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/page_load_metrics_observer_impl.h" #include "base/time/time.h" #include "build/build_config.h" #include "components/no_state_prefetch/browser/no_sta...
Zhao-PengFei35/chromium_src_4
weblayer/browser/page_load_metrics_observer_impl.cc
C++
unknown
5,213
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_PAGE_LOAD_METRICS_OBSERVER_IMPL_H_ #define WEBLAYER_BROWSER_PAGE_LOAD_METRICS_OBSERVER_IMPL_H_ #include "components/page_load_metrics/browser/page_loa...
Zhao-PengFei35/chromium_src_4
weblayer/browser/page_load_metrics_observer_impl.h
C++
unknown
1,670
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/page_specific_content_settings_delegate.h" #include "base/feature_list.h" #include "base/functional/callback_helpers.h" #include "components/content...
Zhao-PengFei35/chromium_src_4
weblayer/browser/page_specific_content_settings_delegate.cc
C++
unknown
4,267
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_PAGE_SPECIFIC_CONTENT_SETTINGS_DELEGATE_H_ #define WEBLAYER_BROWSER_PAGE_SPECIFIC_CONTENT_SETTINGS_DELEGATE_H_ #include "base/memory/raw_ptr.h" #inclu...
Zhao-PengFei35/chromium_src_4
weblayer/browser/page_specific_content_settings_delegate.h
C++
unknown
2,857
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/password_manager_driver_factory.h" #include "base/memory/raw_ptr.h" #include "components/password_manager/content/browser/bad_message.h" #include "c...
Zhao-PengFei35/chromium_src_4
weblayer/browser/password_manager_driver_factory.cc
C++
unknown
6,186
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_PASSWORD_MANAGER_DRIVER_FACTORY_H_ #define WEBLAYER_BROWSER_PASSWORD_MANAGER_DRIVER_FACTORY_H_ #include <map> #include "components/autofill/content/c...
Zhao-PengFei35/chromium_src_4
weblayer/browser/password_manager_driver_factory.h
C++
unknown
2,148
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/permissions/geolocation_permission_context_delegate.h" #include "build/build_config.h" #if BUILDFLAG(IS_ANDROID) #include "weblayer/browser/android...
Zhao-PengFei35/chromium_src_4
weblayer/browser/permissions/geolocation_permission_context_delegate.cc
C++
unknown
1,372
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_PERMISSIONS_GEOLOCATION_PERMISSION_CONTEXT_DELEGATE_H_ #define WEBLAYER_BROWSER_PERMISSIONS_GEOLOCATION_PERMISSION_CONTEXT_DELEGATE_H_ #include "build...
Zhao-PengFei35/chromium_src_4
weblayer/browser/permissions/geolocation_permission_context_delegate.h
C++
unknown
1,559
// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/permissions/origin_keyed_permission_action_service_factory.h" #include "components/keyed_service/content/browser_context_dependency_manager.h" #incl...
Zhao-PengFei35/chromium_src_4
weblayer/browser/permissions/origin_keyed_permission_action_service_factory.cc
C++
unknown
1,505
// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_PERMISSIONS_ORIGIN_KEYED_PERMISSION_ACTION_SERVICE_FACTORY_H_ #define WEBLAYER_BROWSER_PERMISSIONS_ORIGIN_KEYED_PERMISSION_ACTION_SERVICE_FACTORY_H_ #...
Zhao-PengFei35/chromium_src_4
weblayer/browser/permissions/origin_keyed_permission_action_service_factory.h
C++
unknown
1,667
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/permissions/permission_decision_auto_blocker_factory.h" #include "base/no_destructor.h" #include "components/keyed_service/content/browser_context_d...
Zhao-PengFei35/chromium_src_4
weblayer/browser/permissions/permission_decision_auto_blocker_factory.cc
C++
unknown
1,815
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_PERMISSIONS_PERMISSION_DECISION_AUTO_BLOCKER_FACTORY_H_ #define WEBLAYER_BROWSER_PERMISSIONS_PERMISSION_DECISION_AUTO_BLOCKER_FACTORY_H_ #include "bas...
Zhao-PengFei35/chromium_src_4
weblayer/browser/permissions/permission_decision_auto_blocker_factory.h
C++
unknown
1,549
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/permissions/permission_manager_factory.h" #include "base/no_destructor.h" #include "build/build_config.h" #include "components/background_sync/backg...
Zhao-PengFei35/chromium_src_4
weblayer/browser/permissions/permission_manager_factory.cc
C++
unknown
7,650
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_PERMISSIONS_PERMISSION_MANAGER_FACTORY_H_ #define WEBLAYER_BROWSER_PERMISSIONS_PERMISSION_MANAGER_FACTORY_H_ #include "base/no_destructor.h" #include ...
Zhao-PengFei35/chromium_src_4
weblayer/browser/permissions/permission_manager_factory.h
C++
unknown
1,365
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/permissions/permissions_client.h" #include "weblayer/browser/tab_impl.h" #include "weblayer/public/navigation_controller.h" #include "weblayer/public/tab.h...
Zhao-PengFei35/chromium_src_4
weblayer/browser/permissions/permissions_browsertest.cc
C++
unknown
1,777
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/permissions/weblayer_camera_pan_tilt_zoom_permission_context_delegate.h" #include "build/build_config.h" namespace weblayer { WebLayerCameraPanTil...
Zhao-PengFei35/chromium_src_4
weblayer/browser/permissions/weblayer_camera_pan_tilt_zoom_permission_context_delegate.cc
C++
unknown
1,088
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_PERMISSIONS_WEBLAYER_CAMERA_PAN_TILT_ZOOM_PERMISSION_CONTEXT_DELEGATE_H_ #define WEBLAYER_BROWSER_PERMISSIONS_WEBLAYER_CAMERA_PAN_TILT_ZOOM_PERMISSION_...
Zhao-PengFei35/chromium_src_4
weblayer/browser/permissions/weblayer_camera_pan_tilt_zoom_permission_context_delegate.h
C++
unknown
1,328
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/permissions/weblayer_nfc_permission_context_delegate.h" #include "build/build_config.h" #if BUILDFLAG(IS_ANDROID) #include "weblayer/browser/tab_im...
Zhao-PengFei35/chromium_src_4
weblayer/browser/permissions/weblayer_nfc_permission_context_delegate.cc
C++
unknown
792
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_PERMISSIONS_WEBLAYER_NFC_PERMISSION_CONTEXT_DELEGATE_H_ #define WEBLAYER_BROWSER_PERMISSIONS_WEBLAYER_NFC_PERMISSION_CONTEXT_DELEGATE_H_ #include "bui...
Zhao-PengFei35/chromium_src_4
weblayer/browser/permissions/weblayer_nfc_permission_context_delegate.h
C++
unknown
1,102
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/permissions/weblayer_permissions_client.h" #include "base/no_destructor.h" #include "build/build_config.h" #include "components/content_settings/cor...
Zhao-PengFei35/chromium_src_4
weblayer/browser/permissions/weblayer_permissions_client.cc
C++
unknown
3,665
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_PERMISSIONS_WEBLAYER_PERMISSIONS_CLIENT_H_ #define WEBLAYER_BROWSER_PERMISSIONS_WEBLAYER_PERMISSIONS_CLIENT_H_ #include "base/no_destructor.h" #includ...
Zhao-PengFei35/chromium_src_4
weblayer/browser/permissions/weblayer_permissions_client.h
C++
unknown
2,379
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/persistence/browser_persistence_common.h" #include "components/sessions/content/content_serialized_navigation_builder.h" #include "components/sessio...
Zhao-PengFei35/chromium_src_4
weblayer/browser/persistence/browser_persistence_common.cc
C++
unknown
6,637
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_PERSISTENCE_BROWSER_PERSISTENCE_COMMON_H_ #define WEBLAYER_BROWSER_PERSISTENCE_BROWSER_PERSISTENCE_COMMON_H_ #include <memory> #include <vector> clas...
Zhao-PengFei35/chromium_src_4
weblayer/browser/persistence/browser_persistence_common.h
C++
unknown
1,302
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/persistence/browser_persister.h" #include <stddef.h> #include <utility> #include <vector> #include "base/functional/bind.h" #include "base/ranges/...
Zhao-PengFei35/chromium_src_4
weblayer/browser/persistence/browser_persister.cc
C++
unknown
13,127
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_PERSISTENCE_BROWSER_PERSISTER_H_ #define WEBLAYER_BROWSER_PERSISTENCE_BROWSER_PERSISTER_H_ #include <stddef.h> #include <map> #include <memory> #incl...
Zhao-PengFei35/chromium_src_4
weblayer/browser/persistence/browser_persister.h
C++
unknown
5,017
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/persistence/browser_persister.h" #include "base/files/file_path.h" #include "base/files/file_util.h" #include "base/functional/callback_helpers.h" #...
Zhao-PengFei35/chromium_src_4
weblayer/browser/persistence/browser_persister_browsertest.cc
C++
unknown
17,222
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/persistence/browser_persister_file_utils.h" #include "base/files/file_enumerator.h" #include "base/files/file_path.h" #include "base/files/file_util...
Zhao-PengFei35/chromium_src_4
weblayer/browser/persistence/browser_persister_file_utils.cc
C++
unknown
4,224
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_PERSISTENCE_BROWSER_PERSISTER_FILE_UTILS_H_ #define WEBLAYER_BROWSER_PERSISTENCE_BROWSER_PERSISTER_FILE_UTILS_H_ #include <string> #include "base/con...
Zhao-PengFei35/chromium_src_4
weblayer/browser/persistence/browser_persister_file_utils.h
C++
unknown
1,531
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/persistent_download.h" #include "base/files/file_path.h" #include "base/functional/bind.h" #include "base/memory/ptr_util.h" #include "base/task/seq...
Zhao-PengFei35/chromium_src_4
weblayer/browser/persistent_download.cc
C++
unknown
4,915
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_PERSISTENT_DOWNLOAD_H_ #define WEBLAYER_BROWSER_PERSISTENT_DOWNLOAD_H_ #include "base/memory/raw_ptr.h" #include "weblayer/browser/download_impl.h" n...
Zhao-PengFei35/chromium_src_4
weblayer/browser/persistent_download.h
C++
unknown
1,940
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/memory/raw_ptr.h" #include "base/strings/stringprintf.h" #include "build/build_config.h" #include "components/blocked_content/popup_blocker_tab_helper.h" #includ...
Zhao-PengFei35/chromium_src_4
weblayer/browser/popup_blocker_browsertest.cc
C++
unknown
10,225
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/popup_navigation_delegate_impl.h" #include "base/functional/callback_helpers.h" #include "build/build_config.h" #include "components/infobars/conten...
Zhao-PengFei35/chromium_src_4
weblayer/browser/popup_navigation_delegate_impl.cc
C++
unknown
2,347
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_POPUP_NAVIGATION_DELEGATE_IMPL_H_ #define WEBLAYER_BROWSER_POPUP_NAVIGATION_DELEGATE_IMPL_H_ #include "base/memory/raw_ptr.h" #include "components/blo...
Zhao-PengFei35/chromium_src_4
weblayer/browser/popup_navigation_delegate_impl.h
C++
unknown
1,590
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/files/file_path.h" #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversions.h" #include "base/synchronization/lock.h" #include "base/...
Zhao-PengFei35/chromium_src_4
weblayer/browser/prefetch_browsertest.cc
C++
unknown
5,906
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/test/bind.h" #include "build/build_config.h" #include "components/content_settings/core/browser/host_content_settings_map.h" #include "ui/gfx/image/image_unittes...
Zhao-PengFei35/chromium_src_4
weblayer/browser/profile_browsertest.cc
C++
unknown
8,608
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/profile_disk_operations.h" #include "base/files/file_enumerator.h" #include "base/files/file_util.h" #include "base/logging.h" #include "base/path_s...
Zhao-PengFei35/chromium_src_4
weblayer/browser/profile_disk_operations.cc
C++
unknown
8,117
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_PROFILE_DISK_OPERATIONS_H_ #define WEBLAYER_BROWSER_PROFILE_DISK_OPERATIONS_H_ #include <string> #include <vector> #include "base/files/file_path.h" ...
Zhao-PengFei35/chromium_src_4
weblayer/browser/profile_disk_operations.h
C++
unknown
2,274
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <string> #include <vector> #include "base/base_paths.h" #include "base/check.h" #include "base/containers/contains.h" #include "base/files/file_util.h" #include "base...
Zhao-PengFei35/chromium_src_4
weblayer/browser/profile_disk_operations_unittests.cc
C++
unknown
5,532
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/profile_impl.h" #include <memory> #include <string> #include <utility> #include <vector> #include "base/functional/bind.h" #include "base/memory/ra...
Zhao-PengFei35/chromium_src_4
weblayer/browser/profile_impl.cc
C++
unknown
26,520
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_PROFILE_IMPL_H_ #define WEBLAYER_BROWSER_PROFILE_IMPL_H_ #include <set> #include <vector> #include "base/files/file_path.h" #include "base/memory/raw...
Zhao-PengFei35/chromium_src_4
weblayer/browser/profile_impl.h
C++
unknown
8,448
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/proxying_url_loader_factory_impl.h" #include "base/time/time.h" #include "components/embedder_support/android/util/android_stream_reader_url_loader....
Zhao-PengFei35/chromium_src_4
weblayer/browser/proxying_url_loader_factory_impl.cc
C++
unknown
9,998
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_PROXYING_URL_LOADER_FACTORY_IMPL_H_ #define WEBLAYER_BROWSER_PROXYING_URL_LOADER_FACTORY_IMPL_H_ #include "mojo/public/cpp/bindings/receiver_set.h" #i...
Zhao-PengFei35/chromium_src_4
weblayer/browser/proxying_url_loader_factory_impl.h
C++
unknown
2,431
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/reduce_accept_language_factory.h" #include "components/keyed_service/content/browser_context_dependency_manager.h" #include "components/reduce_accep...
Zhao-PengFei35/chromium_src_4
weblayer/browser/reduce_accept_language_factory.cc
C++
unknown
1,836
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_REDUCE_ACCEPT_LANGUAGE_FACTORY_H_ #define WEBLAYER_BROWSER_REDUCE_ACCEPT_LANGUAGE_FACTORY_H_ #include "base/no_destructor.h" #include "components/keye...
Zhao-PengFei35/chromium_src_4
weblayer/browser/reduce_accept_language_factory.h
C++
unknown
1,523
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/content_settings/core/browser/host_content_settings_map.h" #include "components/language/core/browser/language_prefs.h" #include "components/language/core/...
Zhao-PengFei35/chromium_src_4
weblayer/browser/reduce_accept_language_service_browsertest.cc
C++
unknown
3,507
<!doctype html> <html lang="en" dir="ltr"> <head> <meta charset="utf-8"> <title>WebLayer Internals</title> <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> <script type="module" src="weblayer_internals.js"></script> </head> <body> <h1>WebLayer Internals</h1> <div> ...
Zhao-PengFei35/chromium_src_4
weblayer/browser/resources/weblayer_internals/weblayer_internals.html
HTML
unknown
489
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /* Javascript module for chrome://weblayer. */ import {isAndroid} from 'chrome://resources/js/platform.js'; import {$} from 'chrome://resources/js/util_ts.js'; import {PageHa...
Zhao-PengFei35/chromium_src_4
weblayer/browser/resources/weblayer_internals/weblayer_internals.js
JavaScript
unknown
891
include_rules = [ "+components/safe_browsing/content/browser", "+components/safe_browsing/content/common", "+services/network/test", ]
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/DEPS
Python
unknown
141
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/safe_browsing/client_side_detection_service_factory.h" #include "base/test/bind.h" #include "base/test/scoped_feature_list.h" #include "components/p...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/client_side_detection_service_browsertest.cc
C++
unknown
3,820
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/safe_browsing/client_side_detection_service_factory.h" #include "base/no_destructor.h" #include "components/keyed_service/content/browser_context_de...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/client_side_detection_service_factory.cc
C++
unknown
2,312
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_SAFE_BROWSING_CLIENT_SIDE_DETECTION_SERVICE_FACTORY_H_ #define WEBLAYER_BROWSER_SAFE_BROWSING_CLIENT_SIDE_DETECTION_SERVICE_FACTORY_H_ #include "base/...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/client_side_detection_service_factory.h
C++
unknown
1,886
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/safe_browsing/client_side_detection_service_factory.h" #include "base/test/scoped_feature_list.h" #include "weblayer/browser/browser_context_impl.h"...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/client_side_detection_service_factory_browsertest.cc
C++
unknown
1,125
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/safe_browsing/real_time_url_lookup_service_factory.h" #include "base/functional/bind.h" #include "components/keyed_service/content/browser_context_d...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/real_time_url_lookup_service_factory.cc
C++
unknown
3,501
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_SAFE_BROWSING_REAL_TIME_URL_LOOKUP_SERVICE_FACTORY_H_ #define WEBLAYER_BROWSER_SAFE_BROWSING_REAL_TIME_URL_LOOKUP_SERVICE_FACTORY_H_ #include "base/me...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/real_time_url_lookup_service_factory.h
C++
unknown
2,549
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <map> #include "base/memory/raw_ptr.h" #include "components/prefs/pref_service.h" #include "components/safe_browsing/android/safe_browsing_api_handler_bridge.h" #incl...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/safe_browsing_browsertest.cc
C++
unknown
17,721
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/safe_browsing/safe_browsing_metrics_collector_factory.h" #include "base/no_destructor.h" #include "components/keyed_service/content/browser_context_...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/safe_browsing_metrics_collector_factory.cc
C++
unknown
1,625
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_SAFE_BROWSING_SAFE_BROWSING_METRICS_COLLECTOR_FACTORY_H_ #define WEBLAYER_BROWSER_SAFE_BROWSING_SAFE_BROWSING_METRICS_COLLECTOR_FACTORY_H_ #include "b...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/safe_browsing_metrics_collector_factory.h
C++
unknown
1,827
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/safe_browsing/safe_browsing_navigation_observer_manager_factory.h" #include "base/no_destructor.h" #include "components/keyed_service/content/browse...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/safe_browsing_navigation_observer_manager_factory.cc
C++
unknown
1,907
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_SAFE_BROWSING_SAFE_BROWSING_NAVIGATION_OBSERVER_MANAGER_FACTORY_H_ #define WEBLAYER_BROWSER_SAFE_BROWSING_SAFE_BROWSING_NAVIGATION_OBSERVER_MANAGER_FAC...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/safe_browsing_navigation_observer_manager_factory.h
C++
unknown
2,108
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/safe_browsing/safe_browsing_service.h" #include <memory> #include "base/functional/bind.h" #include "base/path_service.h" #include "components/pref...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/safe_browsing_service.cc
C++
unknown
12,471
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_SAFE_BROWSING_SAFE_BROWSING_SERVICE_H_ #define WEBLAYER_BROWSER_SAFE_BROWSING_SAFE_BROWSING_SERVICE_H_ #include "components/safe_browsing/content/brow...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/safe_browsing_service.h
C++
unknown
4,859
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/safe_browsing/safe_browsing_token_fetcher_impl.h" #include "base/functional/bind.h" #include "base/memory/weak_ptr.h" #include "google_apis/gaia/gai...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/safe_browsing_token_fetcher_impl.cc
C++
unknown
2,713
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_SAFE_BROWSING_SAFE_BROWSING_TOKEN_FETCHER_IMPL_H_ #define WEBLAYER_BROWSER_SAFE_BROWSING_SAFE_BROWSING_TOKEN_FETCHER_IMPL_H_ #include <memory> #includ...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/safe_browsing_token_fetcher_impl.h
C++
unknown
2,359
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/safe_browsing/safe_browsing_token_fetcher_impl.h" #include "content/public/test/browser_task_environment.h" #include "google_apis/gaia/gaia_constant...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/safe_browsing_token_fetcher_impl_unittest.cc
C++
unknown
14,902
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/safe_browsing/url_checker_delegate_impl.h" #include "base/functional/bind.h" #include "components/no_state_prefetch/browser/no_state_prefetch_manage...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/url_checker_delegate_impl.cc
C++
unknown
5,744
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_SAFE_BROWSING_URL_CHECKER_DELEGATE_IMPL_H_ #define WEBLAYER_BROWSER_SAFE_BROWSING_URL_CHECKER_DELEGATE_IMPL_H_ #include "base/memory/ref_counted.h" #i...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/url_checker_delegate_impl.h
C++
unknown
3,329
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/safe_browsing/weblayer_client_side_detection_host_delegate.h" #include "components/prefs/pref_service.h" #include "components/safe_browsing/android/...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/weblayer_client_side_detection_host_delegate.cc
C++
unknown
2,977
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_SAFE_BROWSING_WEBLAYER_CLIENT_SIDE_DETECTION_HOST_DELEGATE_H_ #define WEBLAYER_BROWSER_SAFE_BROWSING_WEBLAYER_CLIENT_SIDE_DETECTION_HOST_DELEGATE_H_ #...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/weblayer_client_side_detection_host_delegate.h
C++
unknown
2,115
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/safe_browsing/weblayer_client_side_detection_service_delegate.h" #include "components/prefs/pref_service.h" #include "components/safe_browsing/core/...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/weblayer_client_side_detection_service_delegate.cc
C++
unknown
1,643
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_SAFE_BROWSING_WEBLAYER_CLIENT_SIDE_DETECTION_SERVICE_DELEGATE_H_ #define WEBLAYER_BROWSER_SAFE_BROWSING_WEBLAYER_CLIENT_SIDE_DETECTION_SERVICE_DELEGATE...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/weblayer_client_side_detection_service_delegate.h
C++
unknown
1,490
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/safe_browsing/weblayer_ping_manager_factory.h" #include "base/no_destructor.h" #include "components/keyed_service/content/browser_context_dependency...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/weblayer_ping_manager_factory.cc
C++
unknown
3,836
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_SAFE_BROWSING_WEBLAYER_PING_MANAGER_FACTORY_H_ #define WEBLAYER_BROWSER_SAFE_BROWSING_WEBLAYER_PING_MANAGER_FACTORY_H_ #include "base/no_destructor.h"...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/weblayer_ping_manager_factory.h
C++
unknown
1,779
// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/functional/bind.h" #include "base/functional/callback.h" #include "base/test/bind.h" #include "base/time/time.h" #include "components/safe_browsing/core/common/s...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/weblayer_ping_manager_factory_browsertest.cc
C++
unknown
5,007
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/safe_browsing/weblayer_safe_browsing_blocking_page_factory.h" #include "components/security_interstitials/content/security_interstitial_controller_c...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/weblayer_safe_browsing_blocking_page_factory.cc
C++
unknown
2,790
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_SAFE_BROWSING_WEBLAYER_SAFE_BROWSING_BLOCKING_PAGE_FACTORY_H_ #define WEBLAYER_BROWSER_SAFE_BROWSING_WEBLAYER_SAFE_BROWSING_BLOCKING_PAGE_FACTORY_H_ #...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/weblayer_safe_browsing_blocking_page_factory.h
C++
unknown
1,232
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/safe_browsing/weblayer_safe_browsing_tab_observer_delegate.h" #include "base/functional/bind.h" #include "components/prefs/pref_service.h" #include ...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/weblayer_safe_browsing_tab_observer_delegate.cc
C++
unknown
3,238
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_SAFE_BROWSING_WEBLAYER_SAFE_BROWSING_TAB_OBSERVER_DELEGATE_H_ #define WEBLAYER_BROWSER_SAFE_BROWSING_WEBLAYER_SAFE_BROWSING_TAB_OBSERVER_DELEGATE_H_ #...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/weblayer_safe_browsing_tab_observer_delegate.h
C++
unknown
1,498
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/safe_browsing/weblayer_ui_manager_delegate.h" #include "components/safe_browsing/core/browser/ping_manager.h" #include "content/public/browser/web_c...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/weblayer_ui_manager_delegate.cc
C++
unknown
2,924
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_SAFE_BROWSING_WEBLAYER_UI_MANAGER_DELEGATE_H_ #define WEBLAYER_BROWSER_SAFE_BROWSING_WEBLAYER_UI_MANAGER_DELEGATE_H_ #include "components/safe_browsin...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/weblayer_ui_manager_delegate.h
C++
unknown
2,065
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/safe_browsing/weblayer_user_population_helper.h" #include "components/safe_browsing/core/browser/user_population.h" #include "components/safe_browsi...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/weblayer_user_population_helper.cc
C++
unknown
1,593
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_SAFE_BROWSING_WEBLAYER_USER_POPULATION_HELPER_H_ #define WEBLAYER_BROWSER_SAFE_BROWSING_WEBLAYER_USER_POPULATION_HELPER_H_ #include "components/safe_b...
Zhao-PengFei35/chromium_src_4
weblayer/browser/safe_browsing/weblayer_user_population_helper.h
C++
unknown
1,022
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/signin_url_loader_throttle.h" #include "components/content_settings/core/browser/cookie_settings.h" #include "components/signin/core/browser/signin_...
Zhao-PengFei35/chromium_src_4
weblayer/browser/signin_url_loader_throttle.cc
C++
unknown
7,247
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_SIGNIN_URL_LOADER_THROTTLE_H_ #define WEBLAYER_BROWSER_SIGNIN_URL_LOADER_THROTTLE_H_ #include "base/memory/raw_ptr.h" #include "components/signin/core...
Zhao-PengFei35/chromium_src_4
weblayer/browser/signin_url_loader_throttle.h
C++
unknown
2,409
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/site_engagement/site_engagement_service_factory.h" #include "base/no_destructor.h" #include "components/keyed_service/content/browser_context_depend...
Zhao-PengFei35/chromium_src_4
weblayer/browser/site_engagement/site_engagement_service_factory.cc
C++
unknown
1,801
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBLAYER_BROWSER_SITE_ENGAGEMENT_SITE_ENGAGEMENT_SERVICE_FACTORY_H_ #define WEBLAYER_BROWSER_SITE_ENGAGEMENT_SITE_ENGAGEMENT_SERVICE_FACTORY_H_ #include "base/no_destr...
Zhao-PengFei35/chromium_src_4
weblayer/browser/site_engagement/site_engagement_service_factory.h
C++
unknown
1,937
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/base_switches.h" #include "base/command_line.h" #include "base/files/file_path.h" #include "base/memory/raw_ptr.h" #include "base/system/sys_info.h" #include "ba...
Zhao-PengFei35/chromium_src_4
weblayer/browser/site_isolation_browsertest.cc
C++
unknown
11,239
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/site_isolation/site_isolation_policy.h" #include "base/base_switches.h" #include "base/command_line.h" #include "base/system/sys_info.h" #include "base/te...
Zhao-PengFei35/chromium_src_4
weblayer/browser/site_isolation_policy_unittest.cc
C++
unknown
4,493
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/test/weblayer_browser_test.h" #include "base/files/file_path.h" #include "base/scoped_observation.h" #include "base/test/scoped_feature_list.h" #include "bu...
Zhao-PengFei35/chromium_src_4
weblayer/browser/ssl_browsertest.cc
C++
unknown
17,328