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

Side by Side Diff: extensions/browser/extension_message_filter.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_BROWSER_EXTENSION_MESSAGE_FILTER_H_ 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_
6 #define EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_ 6 #define EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "components/keyed_service/core/keyed_service_shutdown_notifier.h" 14 #include "components/keyed_service/core/keyed_service_shutdown_notifier.h"
15 #include "content/public/browser/browser_message_filter.h" 15 #include "content/public/browser/browser_message_filter.h"
16 16
17 class GURL; 17 class GURL;
18 18
19 namespace content { 19 namespace content {
20 class BrowserContext; 20 class BrowserContext;
21 } 21 }
22 22
23 namespace gfx {
24 class Size;
25 }
26
27 namespace extensions { 23 namespace extensions {
28 class EventRouter; 24 class EventRouter;
29 25
30 // This class filters out incoming extension-specific IPC messages from the 26 // This class filters out incoming extension-specific IPC messages from the
31 // renderer process. It is created and destroyed on the UI thread and handles 27 // renderer process. It is created and destroyed on the UI thread and handles
32 // messages there. 28 // messages there.
33 class ExtensionMessageFilter : public content::BrowserMessageFilter { 29 class ExtensionMessageFilter : public content::BrowserMessageFilter {
34 public: 30 public:
35 ExtensionMessageFilter(int render_process_id, 31 ExtensionMessageFilter(int render_process_id,
36 content::BrowserContext* context); 32 content::BrowserContext* context);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 87
92 // Only access from the UI thread. 88 // Only access from the UI thread.
93 content::BrowserContext* browser_context_; 89 content::BrowserContext* browser_context_;
94 90
95 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageFilter); 91 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageFilter);
96 }; 92 };
97 93
98 } // namespace extensions 94 } // namespace extensions
99 95
100 #endif // EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_ 96 #endif // EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « extensions/browser/extension_icon_placeholder.h ('k') | extensions/browser/extension_navigation_throttle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698