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

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

Issue 2819713002: Create TetherService, a TetherAllowed pref, and use DependencyManager for RegisterProfilePrefs call… (Closed)
Patch Set: Create an IsEnabled method on TetherService. Created 3 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/chrome_browser_main_extra_parts_profiles.h" 5 #include "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 #if defined(OS_CHROMEOS) 111 #if defined(OS_CHROMEOS)
112 #include "chrome/browser/supervised_user/chromeos/manager_password_service_facto ry.h" 112 #include "chrome/browser/supervised_user/chromeos/manager_password_service_facto ry.h"
113 #include "chrome/browser/supervised_user/chromeos/supervised_user_password_servi ce_factory.h" 113 #include "chrome/browser/supervised_user/chromeos/supervised_user_password_servi ce_factory.h"
114 #endif 114 #endif
115 #endif 115 #endif
116 116
117 #if defined(OS_CHROMEOS) 117 #if defined(OS_CHROMEOS)
118 #include "chrome/browser/chromeos/printer_detector/printer_detector_factory.h" 118 #include "chrome/browser/chromeos/printer_detector/printer_detector_factory.h"
119 #include "chrome/browser/chromeos/printing/cups_print_job_manager_factory.h" 119 #include "chrome/browser/chromeos/printing/cups_print_job_manager_factory.h"
120 #include "chrome/browser/chromeos/printing/printers_manager_factory.h" 120 #include "chrome/browser/chromeos/printing/printers_manager_factory.h"
121 #include "chrome/browser/chromeos/tether/tether_service_factory.h"
121 #include "chrome/browser/extensions/api/platform_keys/verify_trust_api.h" 122 #include "chrome/browser/extensions/api/platform_keys/verify_trust_api.h"
122 #endif 123 #endif
123 124
124 #if defined(OS_ANDROID) 125 #if defined(OS_ANDROID)
125 #include "chrome/browser/android/data_usage/data_use_ui_tab_model_factory.h" 126 #include "chrome/browser/android/data_usage/data_use_ui_tab_model_factory.h"
126 #include "chrome/browser/android/search_geolocation/search_geolocation_service.h " 127 #include "chrome/browser/android/search_geolocation/search_geolocation_service.h "
127 #else 128 #else
128 #include "chrome/browser/cryptauth/chrome_cryptauth_service_factory.h" 129 #include "chrome/browser/cryptauth/chrome_cryptauth_service_factory.h"
129 #include "chrome/browser/ui/global_error/global_error_service_factory.h" 130 #include "chrome/browser/ui/global_error/global_error_service_factory.h"
130 #include "chrome/browser/usb/usb_chooser_context_factory.h" 131 #include "chrome/browser/usb/usb_chooser_context_factory.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); 228 domain_reliability::DomainReliabilityServiceFactory::GetInstance();
228 DownloadServiceFactory::GetInstance(); 229 DownloadServiceFactory::GetInstance();
229 #if BUILDFLAG(ENABLE_EXTENSIONS) 230 #if BUILDFLAG(ENABLE_EXTENSIONS)
230 EasyUnlockServiceFactory::GetInstance(); 231 EasyUnlockServiceFactory::GetInstance();
231 EnhancedBookmarkKeyServiceFactory::GetInstance(); 232 EnhancedBookmarkKeyServiceFactory::GetInstance();
232 #endif 233 #endif
233 #if defined(OS_CHROMEOS) 234 #if defined(OS_CHROMEOS)
234 chromeos::PrinterDetectorFactory::GetInstance(); 235 chromeos::PrinterDetectorFactory::GetInstance();
235 chromeos::CupsPrintJobManagerFactory::GetInstance(); 236 chromeos::CupsPrintJobManagerFactory::GetInstance();
236 chromeos::PrintersManagerFactory::GetInstance(); 237 chromeos::PrintersManagerFactory::GetInstance();
238 TetherServiceFactory::GetInstance();
237 extensions::VerifyTrustAPI::GetFactoryInstance(); 239 extensions::VerifyTrustAPI::GetFactoryInstance();
238 #endif 240 #endif
239 FaviconServiceFactory::GetInstance(); 241 FaviconServiceFactory::GetInstance();
240 FindBarStateFactory::GetInstance(); 242 FindBarStateFactory::GetInstance();
241 GAIAInfoUpdateServiceFactory::GetInstance(); 243 GAIAInfoUpdateServiceFactory::GetInstance();
242 #if !defined(OS_ANDROID) 244 #if !defined(OS_ANDROID)
243 GlobalErrorServiceFactory::GetInstance(); 245 GlobalErrorServiceFactory::GetInstance();
244 #endif 246 #endif
245 GoogleURLTrackerFactory::GetInstance(); 247 GoogleURLTrackerFactory::GetInstance();
246 HistoryServiceFactory::GetInstance(); 248 HistoryServiceFactory::GetInstance();
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 #endif 344 #endif
343 #if !defined(OS_ANDROID) 345 #if !defined(OS_ANDROID)
344 UsbChooserContextFactory::GetInstance(); 346 UsbChooserContextFactory::GetInstance();
345 #endif 347 #endif
346 WebDataServiceFactory::GetInstance(); 348 WebDataServiceFactory::GetInstance();
347 } 349 }
348 350
349 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 351 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
350 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 352 EnsureBrowserContextKeyedServiceFactoriesBuilt();
351 } 353 }
OLDNEW
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/signin/easy_unlock_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698