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

Side by Side Diff: chrome/browser/profiles/profile_impl.cc

Issue 147923005: Split ExtensionSystem interface from ExtensionSystemImpl implementation, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re^3base Created 6 years, 10 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 | Annotate | Revision Log
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/browser/profiles/profile_impl.h" 5 #include "chrome/browser/profiles/profile_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 19 matching lines...) Expand all
30 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 30 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
31 #include "chrome/browser/browser_process.h" 31 #include "chrome/browser/browser_process.h"
32 #include "chrome/browser/chrome_notification_types.h" 32 #include "chrome/browser/chrome_notification_types.h"
33 #include "chrome/browser/content_settings/cookie_settings.h" 33 #include "chrome/browser/content_settings/cookie_settings.h"
34 #include "chrome/browser/content_settings/host_content_settings_map.h" 34 #include "chrome/browser/content_settings/host_content_settings_map.h"
35 #include "chrome/browser/download/chrome_download_manager_delegate.h" 35 #include "chrome/browser/download/chrome_download_manager_delegate.h"
36 #include "chrome/browser/download/download_service.h" 36 #include "chrome/browser/download/download_service.h"
37 #include "chrome/browser/download/download_service_factory.h" 37 #include "chrome/browser/download/download_service_factory.h"
38 #include "chrome/browser/extensions/extension_service.h" 38 #include "chrome/browser/extensions/extension_service.h"
39 #include "chrome/browser/extensions/extension_special_storage_policy.h" 39 #include "chrome/browser/extensions/extension_special_storage_policy.h"
40 #include "chrome/browser/extensions/extension_system.h"
41 #include "chrome/browser/geolocation/chrome_geolocation_permission_context.h" 40 #include "chrome/browser/geolocation/chrome_geolocation_permission_context.h"
42 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto ry.h" 41 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto ry.h"
43 #include "chrome/browser/history/shortcuts_backend.h" 42 #include "chrome/browser/history/shortcuts_backend.h"
44 #include "chrome/browser/history/top_sites.h" 43 #include "chrome/browser/history/top_sites.h"
45 #include "chrome/browser/media/chrome_midi_permission_context.h" 44 #include "chrome/browser/media/chrome_midi_permission_context.h"
46 #include "chrome/browser/media/chrome_midi_permission_context_factory.h" 45 #include "chrome/browser/media/chrome_midi_permission_context_factory.h"
47 #include "chrome/browser/metrics/metrics_service.h" 46 #include "chrome/browser/metrics/metrics_service.h"
48 #include "chrome/browser/net/chrome_url_request_context.h" 47 #include "chrome/browser/net/chrome_url_request_context.h"
49 #include "chrome/browser/net/net_pref_observer.h" 48 #include "chrome/browser/net/net_pref_observer.h"
50 #include "chrome/browser/net/predictor.h" 49 #include "chrome/browser/net/predictor.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 #include "content/public/browser/dom_storage_context.h" 86 #include "content/public/browser/dom_storage_context.h"
88 #include "content/public/browser/host_zoom_map.h" 87 #include "content/public/browser/host_zoom_map.h"
89 #include "content/public/browser/notification_service.h" 88 #include "content/public/browser/notification_service.h"
90 #include "content/public/browser/render_process_host.h" 89 #include "content/public/browser/render_process_host.h"
91 #include "content/public/browser/storage_partition.h" 90 #include "content/public/browser/storage_partition.h"
92 #include "content/public/browser/user_metrics.h" 91 #include "content/public/browser/user_metrics.h"
93 #include "content/public/common/content_constants.h" 92 #include "content/public/common/content_constants.h"
94 #include "extensions/browser/extension_pref_store.h" 93 #include "extensions/browser/extension_pref_store.h"
95 #include "extensions/browser/extension_pref_value_map.h" 94 #include "extensions/browser/extension_pref_value_map.h"
96 #include "extensions/browser/extension_pref_value_map_factory.h" 95 #include "extensions/browser/extension_pref_value_map_factory.h"
96 #include "extensions/browser/extension_system.h"
97 #include "grit/browser_resources.h" 97 #include "grit/browser_resources.h"
98 #include "grit/chromium_strings.h" 98 #include "grit/chromium_strings.h"
99 #include "grit/generated_resources.h" 99 #include "grit/generated_resources.h"
100 #include "ui/base/l10n/l10n_util.h" 100 #include "ui/base/l10n/l10n_util.h"
101 101
102 #if defined(OS_ANDROID) 102 #if defined(OS_ANDROID)
103 #include "chrome/browser/media/protected_media_identifier_permission_context.h" 103 #include "chrome/browser/media/protected_media_identifier_permission_context.h"
104 #include "chrome/browser/media/protected_media_identifier_permission_context_fac tory.h" 104 #include "chrome/browser/media/protected_media_identifier_permission_context_fac tory.h"
105 #endif // defined(OS_ANDROID) 105 #endif // defined(OS_ANDROID)
106 106
(...skipping 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after
1346 PrefProxyConfigTracker* ProfileImpl::CreateProxyConfigTracker() { 1346 PrefProxyConfigTracker* ProfileImpl::CreateProxyConfigTracker() {
1347 #if defined(OS_CHROMEOS) 1347 #if defined(OS_CHROMEOS)
1348 if (chromeos::ProfileHelper::IsSigninProfile(this)) { 1348 if (chromeos::ProfileHelper::IsSigninProfile(this)) {
1349 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfLocalState( 1349 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfLocalState(
1350 g_browser_process->local_state()); 1350 g_browser_process->local_state());
1351 } 1351 }
1352 #endif // defined(OS_CHROMEOS) 1352 #endif // defined(OS_CHROMEOS)
1353 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfProfile( 1353 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfProfile(
1354 GetPrefs(), g_browser_process->local_state()); 1354 GetPrefs(), g_browser_process->local_state());
1355 } 1355 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698