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

Side by Side Diff: chrome/browser/sync/credential_cache_service_factory_win.h

Issue 10656033: [sync] Automatic bootstrapping of Sync on Win 8 from cached credentials (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit tests Created 8 years, 5 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_SYNC_CREDENTIAL_CACHE_SERVICE_FACTORY_WIN_H_
6 #define CHROME_BROWSER_SYNC_CREDENTIAL_CACHE_SERVICE_FACTORY_WIN_H_
7
8 #include "base/compiler_specific.h"
9 #include "base/memory/singleton.h"
10 #include "chrome/browser/profiles/profile_keyed_service_factory.h"
11
12 class Profile;
13
14 namespace syncer {
15 class CredentialCacheService;
Andrew T Wilson (Slow) 2012/07/20 01:04:05 Just out of curiosity, why is CredentialCacheServi
Raghu Simha 2012/07/20 23:35:22 I was using the example set by ProfileSyncServiceF
16 }
17
18 class CredentialCacheServiceFactory : public ProfileKeyedServiceFactory {
19 public:
20 static syncer::CredentialCacheService* GetForProfile(Profile* profile);
21
22 static CredentialCacheServiceFactory* GetInstance();
23
24 private:
25 friend struct DefaultSingletonTraits<CredentialCacheServiceFactory>;
26
27 CredentialCacheServiceFactory();
28
29 virtual ~CredentialCacheServiceFactory();
30
31 // ProfileKeyedServiceFactory implementation.
32 virtual ProfileKeyedService* BuildServiceInstanceFor(
33 Profile* profile) const OVERRIDE;
34 };
35
36 #endif // CHROME_BROWSER_SYNC_CREDENTIAL_CACHE_SERVICE_FACTORY_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698