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

Side by Side Diff: chrome/browser/services/gcm/fake_signin_manager.cc

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/services/gcm/fake_signin_manager.h" 5 #include "chrome/browser/services/gcm/fake_signin_manager.h"
6 6
7 #include "base/observer_list.h" 7 #include "base/observer_list.h"
8 #include "base/prefs/pref_service.h"
9 #include "build/build_config.h" 8 #include "build/build_config.h"
10 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/signin/account_tracker_service_factory.h" 10 #include "chrome/browser/signin/account_tracker_service_factory.h"
12 #include "chrome/browser/signin/chrome_signin_client_factory.h" 11 #include "chrome/browser/signin/chrome_signin_client_factory.h"
13 #include "chrome/browser/signin/gaia_cookie_manager_service_factory.h" 12 #include "chrome/browser/signin/gaia_cookie_manager_service_factory.h"
14 #include "components/keyed_service/core/keyed_service.h" 13 #include "components/keyed_service/core/keyed_service.h"
14 #include "components/prefs/pref_service.h"
15 #include "components/signin/core/browser/account_tracker_service.h" 15 #include "components/signin/core/browser/account_tracker_service.h"
16 #include "components/signin/core/common/signin_pref_names.h" 16 #include "components/signin/core/common/signin_pref_names.h"
17 #include "content/public/browser/browser_context.h" 17 #include "content/public/browser/browser_context.h"
18 18
19 #if !defined(OS_CHROMEOS) 19 #if !defined(OS_CHROMEOS)
20 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" 20 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
21 #endif 21 #endif
22 22
23 namespace gcm { 23 namespace gcm {
24 24
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 observer_list_, 60 observer_list_,
61 GoogleSignedOut(account_id, username)); 61 GoogleSignedOut(account_id, username));
62 } 62 }
63 63
64 // static 64 // static
65 KeyedService* FakeSigninManager::Build(content::BrowserContext* context) { 65 KeyedService* FakeSigninManager::Build(content::BrowserContext* context) {
66 return new FakeSigninManager(Profile::FromBrowserContext(context)); 66 return new FakeSigninManager(Profile::FromBrowserContext(context));
67 } 67 }
68 68
69 } // namespace gcm 69 } // namespace gcm
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698