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

Side by Side Diff: chrome/browser/prerender/prerender_tracker.cc

Issue 8511080: Get rid of resource_messages.h include from chrome, since that's an internal detail of content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « no previous file | chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.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) 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 #include "chrome/browser/prerender/prerender_tracker.h" 5 #include "chrome/browser/prerender/prerender_tracker.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/prerender/prerender_manager.h" 10 #include "chrome/browser/prerender/prerender_manager.h"
11 #include "content/browser/renderer_host/render_view_host.h" 11 #include "content/browser/renderer_host/render_view_host.h"
12 #include "content/browser/renderer_host/resource_dispatcher_host.h" 12 #include "content/browser/renderer_host/resource_dispatcher_host.h"
13 #include "content/browser/resource_context.h" 13 #include "content/browser/resource_context.h"
14 #include "content/common/resource_messages.h"
15 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
16 #include "net/base/load_flags.h" 15 #include "net/base/load_flags.h"
17 16
18 using content::BrowserThread; 17 using content::BrowserThread;
19 18
20 namespace prerender { 19 namespace prerender {
21 20
22 namespace { 21 namespace {
23 22
24 void CancelDeferredRequestOnIOThread( 23 void CancelDeferredRequestOnIOThread(
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 GetDefault()->AddPrerenderOnIOThread(child_route_id_pair); 349 GetDefault()->AddPrerenderOnIOThread(child_route_id_pair);
351 } 350 }
352 351
353 // static 352 // static
354 void PrerenderTracker::RemovePrerenderOnIOThreadTask( 353 void PrerenderTracker::RemovePrerenderOnIOThreadTask(
355 const ChildRouteIdPair& child_route_id_pair) { 354 const ChildRouteIdPair& child_route_id_pair) {
356 GetDefault()->RemovePrerenderOnIOThread(child_route_id_pair); 355 GetDefault()->RemovePrerenderOnIOThread(child_route_id_pair);
357 } 356 }
358 357
359 } // namespace prerender 358 } // namespace prerender
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698