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

Side by Side Diff: chrome/browser/chromeos/login/oauth2_login_manager_factory.h

Issue 99863007: Added CrOS-specific OAuth2 browser test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_OAUTH2_LOGIN_MANAGER_FACTORY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_OAUTH2_LOGIN_MANAGER_FACTORY_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_OAUTH2_LOGIN_MANAGER_FACTORY_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_OAUTH2_LOGIN_MANAGER_FACTORY_H_
7 7
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "components/browser_context_keyed_service/browser_context_keyed_service _factory.h" 9 #include "components/browser_context_keyed_service/browser_context_keyed_service _factory.h"
10 10
11 class BrowserContextKeyedService;
11 class Profile; 12 class Profile;
12 13
13 namespace chromeos { 14 namespace chromeos {
14 15
15 class OAuth2LoginManager; 16 class OAuth2LoginManager;
16 17
17 // Singleton that owns all OAuth2LoginManager and associates them with 18 // Singleton that owns all OAuth2LoginManager and associates them with
18 // Profiles. Listens for the Profile's destruction notification and cleans up 19 // Profiles. Listens for the Profile's destruction notification and cleans up
19 // the associated OAuth2LoginManager. 20 // the associated OAuth2LoginManager.
20 class OAuth2LoginManagerFactory 21 class OAuth2LoginManagerFactory
(...skipping 15 matching lines...) Expand all
36 // BrowserContextKeyedServiceFactory implementation. 37 // BrowserContextKeyedServiceFactory implementation.
37 virtual BrowserContextKeyedService* BuildServiceInstanceFor( 38 virtual BrowserContextKeyedService* BuildServiceInstanceFor(
38 content::BrowserContext* context) const OVERRIDE; 39 content::BrowserContext* context) const OVERRIDE;
39 40
40 DISALLOW_COPY_AND_ASSIGN(OAuth2LoginManagerFactory); 41 DISALLOW_COPY_AND_ASSIGN(OAuth2LoginManagerFactory);
41 }; 42 };
42 43
43 } // namespace chromeos 44 } // namespace chromeos
44 45
45 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OAUTH2_LOGIN_MANAGER_FACTORY_H_ 46 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OAUTH2_LOGIN_MANAGER_FACTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/oauth2_browsertest.cc ('k') | chrome/browser/chromeos/login/oauth2_login_verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698