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

Side by Side Diff: chrome/browser/extensions/signin/gaia_auth_extension_loader.h

Issue 2686683002: Deprecate most of gaia_auth extension (Closed)
Patch Set: remove unused data member from GaiaAuthExtensionLoader 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 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_EXTENSIONS_SIGNIN_GAIA_AUTH_EXTENSION_LOADER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_SIGNIN_GAIA_AUTH_EXTENSION_LOADER_H_
6 #define CHROME_BROWSER_EXTENSIONS_SIGNIN_GAIA_AUTH_EXTENSION_LOADER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_SIGNIN_GAIA_AUTH_EXTENSION_LOADER_H_
7 7
8 #include <map>
9 #include <string>
10
11 #include "base/macros.h" 8 #include "base/macros.h"
12 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
13 #include "extensions/browser/browser_context_keyed_api_factory.h" 10 #include "extensions/browser/browser_context_keyed_api_factory.h"
14 11
15 namespace content { 12 namespace content {
16 class BrowserContext; 13 class BrowserContext;
17 } 14 }
18 15
19 namespace extensions { 16 namespace extensions {
20 17
(...skipping 27 matching lines...) Expand all
48 45
49 // BrowserContextKeyedAPI implementation. 46 // BrowserContextKeyedAPI implementation.
50 static const char* service_name() { 47 static const char* service_name() {
51 return "GaiaAuthExtensionLoader"; 48 return "GaiaAuthExtensionLoader";
52 } 49 }
53 static const bool kServiceRedirectedInIncognito = true; 50 static const bool kServiceRedirectedInIncognito = true;
54 51
55 content::BrowserContext* browser_context_; 52 content::BrowserContext* browser_context_;
56 int load_count_; 53 int load_count_;
57 54
58 int last_data_id_;
59 std::map<int, std::string> data_;
60
61 base::WeakPtrFactory<GaiaAuthExtensionLoader> weak_ptr_factory_; 55 base::WeakPtrFactory<GaiaAuthExtensionLoader> weak_ptr_factory_;
62 56
63 DISALLOW_COPY_AND_ASSIGN(GaiaAuthExtensionLoader); 57 DISALLOW_COPY_AND_ASSIGN(GaiaAuthExtensionLoader);
64 }; 58 };
65 59
66 } // namespace extensions 60 } // namespace extensions
67 61
68 #endif // CHROME_BROWSER_EXTENSIONS_SIGNIN_GAIA_AUTH_EXTENSION_LOADER_H_ 62 #endif // CHROME_BROWSER_EXTENSIONS_SIGNIN_GAIA_AUTH_EXTENSION_LOADER_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/extensions/signin/gaia_auth_extension_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698