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

Side by Side Diff: extensions/browser/extension_message_filter.cc

Issue 194333002: Move extension_messages.h to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge again Created 6 years, 9 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 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 #include "extensions/browser/extension_message_filter.h" 5 #include "extensions/browser/extension_message_filter.h"
6 6
7 #include "chrome/common/extensions/extension_messages.h"
8 #include "content/public/browser/browser_thread.h" 7 #include "content/public/browser/browser_thread.h"
9 #include "content/public/browser/render_process_host.h" 8 #include "content/public/browser/render_process_host.h"
10 #include "content/public/browser/resource_dispatcher_host.h" 9 #include "content/public/browser/resource_dispatcher_host.h"
11 #include "extensions/browser/event_router.h" 10 #include "extensions/browser/event_router.h"
12 #include "extensions/browser/extension_system.h" 11 #include "extensions/browser/extension_system.h"
13 #include "extensions/browser/process_manager.h" 12 #include "extensions/browser/process_manager.h"
13 #include "extensions/common/extension_messages.h"
14 #include "ipc/ipc_message_macros.h" 14 #include "ipc/ipc_message_macros.h"
15 15
16 using content::BrowserThread; 16 using content::BrowserThread;
17 using content::RenderProcessHost; 17 using content::RenderProcessHost;
18 18
19 namespace extensions { 19 namespace extensions {
20 20
21 ExtensionMessageFilter::ExtensionMessageFilter(int render_process_id, 21 ExtensionMessageFilter::ExtensionMessageFilter(int render_process_id,
22 content::BrowserContext* context) 22 content::BrowserContext* context)
23 : BrowserMessageFilter(ExtensionMsgStart), 23 : BrowserMessageFilter(ExtensionMsgStart),
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 static int next_unique_id = 0; 166 static int next_unique_id = 0;
167 *unique_id = ++next_unique_id; 167 *unique_id = ++next_unique_id;
168 } 168 }
169 169
170 void ExtensionMessageFilter::OnExtensionResumeRequests(int route_id) { 170 void ExtensionMessageFilter::OnExtensionResumeRequests(int route_id) {
171 content::ResourceDispatcherHost::Get()->ResumeBlockedRequestsForRoute( 171 content::ResourceDispatcherHost::Get()->ResumeBlockedRequestsForRoute(
172 render_process_id_, route_id); 172 render_process_id_, route_id);
173 } 173 }
174 174
175 } // namespace extensions 175 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/extension_function.cc ('k') | extensions/browser/lazy_background_task_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698