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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 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
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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_GARBAGE_COLLECTOR_FACTORY_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_GARBAGE_COLLECTOR_FACTORY_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_GARBAGE_COLLECTOR_FACTORY_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_GARBAGE_COLLECTOR_FACTORY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/keyed_service/content/browser_context_keyed_service_factory .h" 9 #include "components/keyed_service/content/browser_context_keyed_service_factory .h"
10 10
11 namespace base { 11 namespace base {
12 template <typename T> 12 template <typename T>
13 struct DefaultSingletonTraits; 13 struct DefaultSingletonTraits;
14 } 14 }
15 15
16 class Profile;
17
18 namespace extensions { 16 namespace extensions {
19 17
20 class ExtensionGarbageCollector; 18 class ExtensionGarbageCollector;
21 19
22 class ExtensionGarbageCollectorFactory 20 class ExtensionGarbageCollectorFactory
23 : public BrowserContextKeyedServiceFactory { 21 : public BrowserContextKeyedServiceFactory {
24 public: 22 public:
25 static ExtensionGarbageCollector* GetForBrowserContext( 23 static ExtensionGarbageCollector* GetForBrowserContext(
26 content::BrowserContext* context); 24 content::BrowserContext* context);
27 25
(...skipping 14 matching lines...) Expand all
42 40
43 bool ServiceIsCreatedWithBrowserContext() const override; 41 bool ServiceIsCreatedWithBrowserContext() const override;
44 bool ServiceIsNULLWhileTesting() const override; 42 bool ServiceIsNULLWhileTesting() const override;
45 43
46 DISALLOW_COPY_AND_ASSIGN(ExtensionGarbageCollectorFactory); 44 DISALLOW_COPY_AND_ASSIGN(ExtensionGarbageCollectorFactory);
47 }; 45 };
48 46
49 } // namespace extensions 47 } // namespace extensions
50 48
51 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_GARBAGE_COLLECTOR_FACTORY_H_ 49 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_GARBAGE_COLLECTOR_FACTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_function_test_utils.h ('k') | chrome/browser/extensions/extension_gcm_app_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698