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

Side by Side Diff: content/renderer/devtools_agent_filter.h

Issue 10696166: Remove #pragma once from content (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
« no previous file with comments | « content/renderer/devtools_agent.h ('k') | content/renderer/devtools_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_RENDERER_DEVTOOLS_AGENT_FILTER_H_ 5 #ifndef CONTENT_RENDERER_DEVTOOLS_AGENT_FILTER_H_
6 #define CONTENT_RENDERER_DEVTOOLS_AGENT_FILTER_H_ 6 #define CONTENT_RENDERER_DEVTOOLS_AGENT_FILTER_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "ipc/ipc_channel_proxy.h" 10 #include "ipc/ipc_channel_proxy.h"
12 11
13 class MessageLoop; 12 class MessageLoop;
14 struct DevToolsMessageData; 13 struct DevToolsMessageData;
15 14
16 // DevToolsAgentFilter is registered as an IPC filter in order to be able to 15 // DevToolsAgentFilter is registered as an IPC filter in order to be able to
17 // dispatch messages while on the IO thread. The reason for that is that while 16 // dispatch messages while on the IO thread. The reason for that is that while
(...skipping 17 matching lines...) Expand all
35 private: 34 private:
36 void OnDispatchOnInspectorBackend(const std::string& message); 35 void OnDispatchOnInspectorBackend(const std::string& message);
37 36
38 bool message_handled_; 37 bool message_handled_;
39 MessageLoop* render_thread_loop_; 38 MessageLoop* render_thread_loop_;
40 39
41 DISALLOW_COPY_AND_ASSIGN(DevToolsAgentFilter); 40 DISALLOW_COPY_AND_ASSIGN(DevToolsAgentFilter);
42 }; 41 };
43 42
44 #endif // CONTENT_RENDERER_DEVTOOLS_AGENT_FILTER_H_ 43 #endif // CONTENT_RENDERER_DEVTOOLS_AGENT_FILTER_H_
OLDNEW
« no previous file with comments | « content/renderer/devtools_agent.h ('k') | content/renderer/devtools_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698