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

Side by Side Diff: chrome/browser/extensions/install_tracker_factory.h

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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_INSTALL_TRACKER_FACTORY_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_INSTALL_TRACKER_FACTORY_H_
6 #define CHROME_BROWSER_EXTENSIONS_INSTALL_TRACKER_FACTORY_H_ 6 #define CHROME_BROWSER_EXTENSIONS_INSTALL_TRACKER_FACTORY_H_
7 7
8 #include "components/keyed_service/content/browser_context_keyed_service_factory .h" 8 #include "components/keyed_service/content/browser_context_keyed_service_factory .h"
9 9
10 template <typename T> struct DefaultSingletonTraits; 10 template <typename T> struct DefaultSingletonTraits;
11 11
12 namespace extensions { 12 namespace extensions {
13 13
14 class InstallTracker; 14 class InstallTracker;
15 15
16 class InstallTrackerFactory : public BrowserContextKeyedServiceFactory { 16 class InstallTrackerFactory : public BrowserContextKeyedServiceFactory {
17 public: 17 public:
18 static InstallTracker* GetForBrowserContext(content::BrowserContext* context); 18 static InstallTracker* GetForBrowserContext(content::BrowserContext* context);
19 static InstallTrackerFactory* GetInstance(); 19 static InstallTrackerFactory* GetInstance();
20 20
21 private: 21 private:
22 friend struct DefaultSingletonTraits<InstallTrackerFactory>; 22 friend struct DefaultSingletonTraits<InstallTrackerFactory>;
23 23
24 InstallTrackerFactory(); 24 InstallTrackerFactory();
25 virtual ~InstallTrackerFactory(); 25 virtual ~InstallTrackerFactory();
26 26
27 // BrowserContextKeyedServiceFactory overrides: 27 // BrowserContextKeyedServiceFactory overrides:
28 virtual KeyedService* BuildServiceInstanceFor( 28 virtual KeyedService* BuildServiceInstanceFor(
29 content::BrowserContext* context) const OVERRIDE; 29 content::BrowserContext* context) const override;
30 virtual content::BrowserContext* GetBrowserContextToUse( 30 virtual content::BrowserContext* GetBrowserContextToUse(
31 content::BrowserContext* context) const OVERRIDE; 31 content::BrowserContext* context) const override;
32 32
33 DISALLOW_COPY_AND_ASSIGN(InstallTrackerFactory); 33 DISALLOW_COPY_AND_ASSIGN(InstallTrackerFactory);
34 }; 34 };
35 35
36 } // namespace extensions 36 } // namespace extensions
37 37
38 #endif // CHROME_BROWSER_EXTENSIONS_INSTALL_TRACKER_FACTORY_H_ 38 #endif // CHROME_BROWSER_EXTENSIONS_INSTALL_TRACKER_FACTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/install_tracker.h ('k') | chrome/browser/extensions/install_verifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698