Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.cc

Issue 235813002: Add profile-switches to signin-internals; move switches to component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/renderer/DEPS ('k') | components/signin.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/renderer/chrome_content_renderer_client.h" 5 #include "chrome/renderer/chrome_content_renderer_client.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/debug/crash_logging.h" 8 #include "base/debug/crash_logging.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
11 #include "base/metrics/user_metrics_action.h" 11 #include "base/metrics/user_metrics_action.h"
12 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "base/strings/string_util.h" 14 #include "base/strings/string_util.h"
15 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
16 #include "base/values.h" 16 #include "base/values.h"
17 #include "chrome/common/chrome_content_client.h" 17 #include "chrome/common/chrome_content_client.h"
18 #include "chrome/common/chrome_paths.h" 18 #include "chrome/common/chrome_paths.h"
19 #include "chrome/common/chrome_switches.h" 19 #include "chrome/common/chrome_switches.h"
20 #include "chrome/common/content_settings_pattern.h" 20 #include "chrome/common/content_settings_pattern.h"
21 #include "chrome/common/crash_keys.h" 21 #include "chrome/common/crash_keys.h"
22 #include "chrome/common/extensions/chrome_extensions_client.h" 22 #include "chrome/common/extensions/chrome_extensions_client.h"
23 #include "chrome/common/extensions/extension_constants.h" 23 #include "chrome/common/extensions/extension_constants.h"
24 #include "chrome/common/extensions/extension_process_policy.h" 24 #include "chrome/common/extensions/extension_process_policy.h"
25 #include "chrome/common/localized_error.h" 25 #include "chrome/common/localized_error.h"
26 #include "chrome/common/pepper_permission_util.h" 26 #include "chrome/common/pepper_permission_util.h"
27 #include "chrome/common/profile_management_switches.h"
28 #include "chrome/common/render_messages.h" 27 #include "chrome/common/render_messages.h"
29 #include "chrome/common/url_constants.h" 28 #include "chrome/common/url_constants.h"
30 #include "chrome/renderer/benchmarking_extension.h" 29 #include "chrome/renderer/benchmarking_extension.h"
31 #include "chrome/renderer/chrome_render_frame_observer.h" 30 #include "chrome/renderer/chrome_render_frame_observer.h"
32 #include "chrome/renderer/chrome_render_process_observer.h" 31 #include "chrome/renderer/chrome_render_process_observer.h"
33 #include "chrome/renderer/chrome_render_view_observer.h" 32 #include "chrome/renderer/chrome_render_view_observer.h"
34 #include "chrome/renderer/content_settings_observer.h" 33 #include "chrome/renderer/content_settings_observer.h"
35 #include "chrome/renderer/extensions/chrome_v8_context.h" 34 #include "chrome/renderer/extensions/chrome_v8_context.h"
36 #include "chrome/renderer/extensions/chrome_v8_extension.h" 35 #include "chrome/renderer/extensions/chrome_v8_extension.h"
37 #include "chrome/renderer/extensions/dispatcher.h" 36 #include "chrome/renderer/extensions/dispatcher.h"
(...skipping 26 matching lines...) Expand all
64 #include "chrome/renderer/searchbox/search_bouncer.h" 63 #include "chrome/renderer/searchbox/search_bouncer.h"
65 #include "chrome/renderer/searchbox/searchbox.h" 64 #include "chrome/renderer/searchbox/searchbox.h"
66 #include "chrome/renderer/searchbox/searchbox_extension.h" 65 #include "chrome/renderer/searchbox/searchbox_extension.h"
67 #include "chrome/renderer/tts_dispatcher.h" 66 #include "chrome/renderer/tts_dispatcher.h"
68 #include "chrome/renderer/worker_permission_client_proxy.h" 67 #include "chrome/renderer/worker_permission_client_proxy.h"
69 #include "components/autofill/content/renderer/autofill_agent.h" 68 #include "components/autofill/content/renderer/autofill_agent.h"
70 #include "components/autofill/content/renderer/password_autofill_agent.h" 69 #include "components/autofill/content/renderer/password_autofill_agent.h"
71 #include "components/autofill/content/renderer/password_generation_agent.h" 70 #include "components/autofill/content/renderer/password_generation_agent.h"
72 #include "components/nacl/renderer/ppb_nacl_private_impl.h" 71 #include "components/nacl/renderer/ppb_nacl_private_impl.h"
73 #include "components/plugins/renderer/mobile_youtube_plugin.h" 72 #include "components/plugins/renderer/mobile_youtube_plugin.h"
73 #include "components/signin/core/common/profile_management_switches.h"
74 #include "components/visitedlink/renderer/visitedlink_slave.h" 74 #include "components/visitedlink/renderer/visitedlink_slave.h"
75 #include "content/public/common/content_constants.h" 75 #include "content/public/common/content_constants.h"
76 #include "content/public/renderer/render_frame.h" 76 #include "content/public/renderer/render_frame.h"
77 #include "content/public/renderer/render_thread.h" 77 #include "content/public/renderer/render_thread.h"
78 #include "content/public/renderer/render_view.h" 78 #include "content/public/renderer/render_view.h"
79 #include "content/public/renderer/render_view_visitor.h" 79 #include "content/public/renderer/render_view_visitor.h"
80 #include "extensions/common/constants.h" 80 #include "extensions/common/constants.h"
81 #include "extensions/common/extension.h" 81 #include "extensions/common/extension.h"
82 #include "extensions/common/extension_set.h" 82 #include "extensions/common/extension_set.h"
83 #include "extensions/common/extension_urls.h" 83 #include "extensions/common/extension_urls.h"
(...skipping 1352 matching lines...) Expand 10 before | Expand all | Expand 10 after
1436 CommandLine* command_line = CommandLine::ForCurrentProcess(); 1436 CommandLine* command_line = CommandLine::ForCurrentProcess();
1437 return !command_line->HasSwitch(extensions::switches::kExtensionProcess); 1437 return !command_line->HasSwitch(extensions::switches::kExtensionProcess);
1438 } 1438 }
1439 1439
1440 blink::WebWorkerPermissionClientProxy* 1440 blink::WebWorkerPermissionClientProxy*
1441 ChromeContentRendererClient::CreateWorkerPermissionClientProxy( 1441 ChromeContentRendererClient::CreateWorkerPermissionClientProxy(
1442 content::RenderFrame* render_frame, 1442 content::RenderFrame* render_frame,
1443 blink::WebFrame* frame) { 1443 blink::WebFrame* frame) {
1444 return new WorkerPermissionClientProxy(render_frame, frame); 1444 return new WorkerPermissionClientProxy(render_frame, frame);
1445 } 1445 }
OLDNEW
« no previous file with comments | « chrome/renderer/DEPS ('k') | components/signin.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698