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

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

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_MESSAGE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_HANDLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_HANDLER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_HANDLER_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "content/public/browser/render_view_host_observer.h" 10 #include "content/public/browser/render_view_host_observer.h"
12 11
13 // Filters and dispatches extension-related IPC messages that arrive from 12 // Filters and dispatches extension-related IPC messages that arrive from
14 // renderers. There is one of these objects for each RenderViewHost in Chrome. 13 // renderers. There is one of these objects for each RenderViewHost in Chrome.
15 // Contrast this with ExtensionTabHelper, which is only created for WebContents. 14 // Contrast this with ExtensionTabHelper, which is only created for WebContents.
16 // 15 //
17 // TODO(aa): Handling of content script messaging should be able to move to EFD 16 // TODO(aa): Handling of content script messaging should be able to move to EFD
(...skipping 12 matching lines...) Expand all
30 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 29 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
31 30
32 private: 31 private:
33 // Message handlers. 32 // Message handlers.
34 void OnPostMessage(int port_id, const std::string& message); 33 void OnPostMessage(int port_id, const std::string& message);
35 34
36 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageHandler); 35 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageHandler);
37 }; 36 };
38 37
39 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_HANDLER_H_ 38 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_management_api_constants.h ('k') | chrome/browser/extensions/extension_message_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698