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

Side by Side Diff: chrome/browser/signin/easy_unlock_service_factory.cc

Issue 2657823005: Move //c/b/services/gcm/ to //c/b/gcm/ (Closed)
Patch Set: Created 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/signin/easy_unlock_service_factory.h" 5 #include "chrome/browser/signin/easy_unlock_service_factory.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/gcm/gcm_profile_service_factory.h"
10 #include "chrome/browser/profiles/incognito_helpers.h" 11 #include "chrome/browser/profiles/incognito_helpers.h"
11 #include "chrome/browser/profiles/profile.h" 12 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/services/gcm/gcm_profile_service_factory.h"
13 #include "chrome/browser/signin/easy_unlock_app_manager.h" 13 #include "chrome/browser/signin/easy_unlock_app_manager.h"
14 #include "chrome/browser/signin/easy_unlock_service.h" 14 #include "chrome/browser/signin/easy_unlock_service.h"
15 #include "chrome/browser/signin/easy_unlock_service_regular.h" 15 #include "chrome/browser/signin/easy_unlock_service_regular.h"
16 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" 16 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
17 #include "chrome/browser/signin/signin_manager_factory.h" 17 #include "chrome/browser/signin/signin_manager_factory.h"
18 #include "chrome/common/chrome_switches.h" 18 #include "chrome/common/chrome_switches.h"
19 #include "chrome/grit/browser_resources.h" 19 #include "chrome/grit/browser_resources.h"
20 #include "components/keyed_service/content/browser_context_dependency_manager.h" 20 #include "components/keyed_service/content/browser_context_dependency_manager.h"
21 #include "extensions/browser/extension_system.h" 21 #include "extensions/browser/extension_system.h"
22 #include "extensions/browser/extension_system_provider.h" 22 #include "extensions/browser/extension_system_provider.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 bool EasyUnlockServiceFactory::ServiceIsCreatedWithBrowserContext() const { 126 bool EasyUnlockServiceFactory::ServiceIsCreatedWithBrowserContext() const {
127 return true; 127 return true;
128 } 128 }
129 129
130 bool EasyUnlockServiceFactory::ServiceIsNULLWhileTesting() const { 130 bool EasyUnlockServiceFactory::ServiceIsNULLWhileTesting() const {
131 // Don't create the service for TestingProfile used in unit_tests because 131 // Don't create the service for TestingProfile used in unit_tests because
132 // EasyUnlockService uses ExtensionSystem::ready().Post, which expects 132 // EasyUnlockService uses ExtensionSystem::ready().Post, which expects
133 // a MessageLoop that does not exit in many unit_tests cases. 133 // a MessageLoop that does not exit in many unit_tests cases.
134 return true; 134 return true;
135 } 135 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698