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

Side by Side Diff: extensions/renderer/extensions_renderer_client.h

Issue 2535713004: extensions: Cleanup class/struct fwd declarations (Closed)
Patch Set: 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 EXTENSIONS_RENDERER_EXTENSIONS_RENDERER_CLIENT_H_ 5 #ifndef EXTENSIONS_RENDERER_EXTENSIONS_RENDERER_CLIENT_H_
6 #define EXTENSIONS_RENDERER_EXTENSIONS_RENDERER_CLIENT_H_ 6 #define EXTENSIONS_RENDERER_EXTENSIONS_RENDERER_CLIENT_H_
7 7
8 class ResourceBundleSourceMap;
9
10 namespace extensions { 8 namespace extensions {
11 9
12 // Interface to allow the extensions module to make render-process-specific 10 // Interface to allow the extensions module to make render-process-specific
13 // queries of the embedder. Should be Set() once in the render process. 11 // queries of the embedder. Should be Set() once in the render process.
14 // 12 //
15 // NOTE: Methods that do not require knowledge of renderer concepts should be 13 // NOTE: Methods that do not require knowledge of renderer concepts should be
16 // added in ExtensionsClient (extensions/common/extensions_client.h) even if 14 // added in ExtensionsClient (extensions/common/extensions_client.h) even if
17 // they are only used in the renderer process. 15 // they are only used in the renderer process.
18 class ExtensionsRendererClient { 16 class ExtensionsRendererClient {
19 public: 17 public:
(...skipping 10 matching lines...) Expand all
30 // Returns the single instance of |this|. 28 // Returns the single instance of |this|.
31 static ExtensionsRendererClient* Get(); 29 static ExtensionsRendererClient* Get();
32 30
33 // Initialize the single instance. 31 // Initialize the single instance.
34 static void Set(ExtensionsRendererClient* client); 32 static void Set(ExtensionsRendererClient* client);
35 }; 33 };
36 34
37 } // namespace extensions 35 } // namespace extensions
38 36
39 #endif // EXTENSIONS_RENDERER_EXTENSIONS_RENDERER_CLIENT_H_ 37 #endif // EXTENSIONS_RENDERER_EXTENSIONS_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « extensions/renderer/dom_activity_logger.h ('k') | extensions/renderer/guest_view/extensions_guest_view_container.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698