OLD | NEW |
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 EXTENSIONS_BROWSER_RENDERER_STARTUP_HELPER_H_ | 5 #ifndef EXTENSIONS_BROWSER_RENDERER_STARTUP_HELPER_H_ |
6 #define EXTENSIONS_BROWSER_RENDERER_STARTUP_HELPER_H_ | 6 #define EXTENSIONS_BROWSER_RENDERER_STARTUP_HELPER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
10 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 11 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
11 #include "components/keyed_service/core/keyed_service.h" | 12 #include "components/keyed_service/core/keyed_service.h" |
12 #include "content/public/browser/notification_observer.h" | 13 #include "content/public/browser/notification_observer.h" |
13 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
14 | 15 |
15 namespace content { | 16 namespace content { |
16 class BrowserContext; | 17 class BrowserContext; |
17 class RenderProcessHost; | 18 class RenderProcessHost; |
18 } | 19 } |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 content::BrowserContext* GetBrowserContextToUse( | 66 content::BrowserContext* GetBrowserContextToUse( |
66 content::BrowserContext* context) const override; | 67 content::BrowserContext* context) const override; |
67 bool ServiceIsCreatedWithBrowserContext() const override; | 68 bool ServiceIsCreatedWithBrowserContext() const override; |
68 | 69 |
69 DISALLOW_COPY_AND_ASSIGN(RendererStartupHelperFactory); | 70 DISALLOW_COPY_AND_ASSIGN(RendererStartupHelperFactory); |
70 }; | 71 }; |
71 | 72 |
72 } // namespace extensions | 73 } // namespace extensions |
73 | 74 |
74 #endif // EXTENSIONS_BROWSER_RENDERER_STARTUP_HELPER_H_ | 75 #endif // EXTENSIONS_BROWSER_RENDERER_STARTUP_HELPER_H_ |
OLD | NEW |