Benign repos download unavailable

electron_browser_context.cc

imports services/network/public/cpp/features.himports services/network/public/cpp/originating_process_id.h
SHA-256882eee095c2ac0050de8e56f296bf8c9b50486552cf1baae08a09cbdb3b80bc5

Evidence

imports services/network/public/cpp/features.h lines 1–48
1// Copyright (c) 2013 GitHub, Inc.
2// Use of this source code is governed by the MIT license that can be
3// found in the LICENSE file.
4
5#include "shell/browser/electron_browser_context.h"
6
7#include <algorithm>
8#include <memory>
9#include <optional>
10#include <utility>
11
12#include "base/barrier_closure.h"
13#include "base/base_paths.h"
14#include "base/command_line.h"
15#include "base/containers/to_vector.h"
16#include "base/files/file_path.h"
17#include "base/no_destructor.h"
18#include "base/path_service.h"
19#include "base/strings/escape.h"
20#include "base/strings/string_number_conversions.h"
21#include "base/strings/string_util.h"
22#include "chrome/common/chrome_paths.h"
23#include "chrome/common/pref_names.h"
24#include "components/keyed_service/content/browser_context_dependency_manager.h"
25#include "components/prefs/json_pref_store.h"
26#include "components/prefs/pref_registry_simple.h"
27#include "components/prefs/pref_service.h"
28#include "components/prefs/pref_service_factory.h"
29#include "components/prefs/value_map_pref_store.h"
30#include "components/proxy_config/pref_proxy_config_tracker_impl.h"
31#include "components/proxy_config/proxy_config_pref_names.h"
32#include "content/browser/blob_storage/chrome_blob_storage_context.h" // nogncheck
33#include "content/browser/network_service_instance_impl.h" // nogncheck
34#include "content/public/browser/browser_thread.h"
35#include "content/public/browser/cors_origin_pattern_setter.h"
36#include "content/public/browser/host_zoom_map.h"
37#include "content/public/browser/preconnect_manager.h"
38#include "content/public/browser/render_process_host.h"
39#include "content/public/browser/shared_cors_origin_access_list.h"
40#include "content/public/browser/storage_partition.h"
41#include "content/public/browser/web_contents_media_capture_id.h"
42#include "gin/arguments.h"
43#include "media/audio/audio_device_description.h"
44#include "services/network/public/cpp/features.h"
45#include "services/network/public/cpp/originating_process_id.h"
46#include "services/network/public/cpp/wrapper_shared_url_loader_factory.h"
47#include "shell/browser/cookie_change_notifier.h"
48#include "shell/browser/electron_browser_client.h"
imports base/i18n/rtl.h lines 91–109
91:5… BUILDFLAG(ENABLE_BUILTIN_SPELLCHECKER)
92#include "components/pref_registry/pref_registry_syncable.h"
93#include "components/user_prefs/user_prefs.h"
94#endif
95
96#if BUILDFLAG(ENABLE_BUILTIN_SPELLCHECKER)
97#include "base/i18n/rtl.h"
98#include "components/language/core/browser/language_prefs.h"
99#include "components/spellcheck/browser/pref_names.h"
100#include "components/spellcheck/common/spellcheck_common.h"
101#endif
102
⋯7 lines
English function-word token "for" lines 142–145
142:70… d party
143 // is incognito is disallowed, except for self-capture.
144 if (capturer->GetPrimaryMainFrame() != captured->GetPrimaryMainFrame()) {
145 i …
Switches on a member named type lines 206–211
206:12… jom::CaptureHandlePtr capture_handle;
207 int zoom_level = 100;
208 switch (media_id.type) {
209 case content::DesktopMediaID::TYPE_SCREEN:
210 display_surface = media::mojom::DisplayCaptureSurfaceType::MONITOR;
211 …
English function-word token "and" lines 232–237
232:7… zoom_level);
233}
234
235// Convert string to lower case and escape it.
236std::string MakePartitionName(const std::string& input) {
237 return base::EscapePath( …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.