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

Side by Side Diff: chrome/browser/automation/automation_resource_message_filter.h

Issue 155905: Separates ipc code from common (http://crbug.com/16829) (Closed)
Patch Set: Fixes reference to 'common_message_traits' it's actually 'common_param_traits' Created 11 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
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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_AUTOMATION_AUTOMATION_RESOURCE_MSG_FILTER_H_ 5 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_RESOURCE_MSG_FILTER_H_
6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_RESOURCE_MSG_FILTER_H_ 6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_RESOURCE_MSG_FILTER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/lock.h" 10 #include "base/lock.h"
11 #include "base/platform_thread.h" 11 #include "base/platform_thread.h"
12 #include "chrome/common/ipc_channel_proxy.h" 12 #include "ipc/ipc_channel_proxy.h"
13 13
14 class URLRequestAutomationJob; 14 class URLRequestAutomationJob;
15 class MessageLoop; 15 class MessageLoop;
16 16
17 // This class filters out incoming automation IPC messages for network 17 // This class filters out incoming automation IPC messages for network
18 // requests and processes them on the IPC thread. As a result, network 18 // requests and processes them on the IPC thread. As a result, network
19 // requests are not delayed by costly UI processing that may be occurring 19 // requests are not delayed by costly UI processing that may be occurring
20 // on the main thread of the browser. It also means that any hangs in 20 // on the main thread of the browser. It also means that any hangs in
21 // starting a network request will not interfere with browser UI. 21 // starting a network request will not interfere with browser UI.
22 class AutomationResourceMessageFilter 22 class AutomationResourceMessageFilter
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 RequestMap request_map_; 101 RequestMap request_map_;
102 102
103 // Map of render views interested in diverting url requests over automation. 103 // Map of render views interested in diverting url requests over automation.
104 static RenderViewMap filtered_render_views_; 104 static RenderViewMap filtered_render_views_;
105 105
106 DISALLOW_COPY_AND_ASSIGN(AutomationResourceMessageFilter); 106 DISALLOW_COPY_AND_ASSIGN(AutomationResourceMessageFilter);
107 }; 107 };
108 108
109 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_RESOURCE_MSG_FILTER_H_ 109 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_RESOURCE_MSG_FILTER_H_
110 110
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider.h ('k') | chrome/browser/automation/automation_resource_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698