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

Side by Side Diff: chrome/browser/net/prerender_interceptor.cc

Issue 5512009: Remove unneeded browser_process.h includes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux build Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/net/prerender_interceptor.h" 5 #include "chrome/browser/net/prerender_interceptor.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "chrome/browser/browser_thread.h" 10 #include "chrome/browser/browser_thread.h"
11 #include "chrome/browser/browser_process.h"
12 #include "chrome/browser/io_thread.h" 11 #include "chrome/browser/io_thread.h"
13 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
14 #include "net/base/load_flags.h" 13 #include "net/base/load_flags.h"
15 14
16 DISABLE_RUNNABLE_METHOD_REFCOUNT(chrome_browser_net::PrerenderInterceptor); 15 DISABLE_RUNNABLE_METHOD_REFCOUNT(chrome_browser_net::PrerenderInterceptor);
17 16
18 namespace chrome_browser_net { 17 namespace chrome_browser_net {
19 18
20 PrerenderInterceptor::PrerenderInterceptor() 19 PrerenderInterceptor::PrerenderInterceptor()
21 : ALLOW_THIS_IN_INITIALIZER_LIST( 20 : ALLOW_THIS_IN_INITIALIZER_LIST(
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 callback_->Run(url); 68 callback_->Run(url);
70 } 69 }
71 70
72 void PrerenderInterceptor::PrerenderDispatch( 71 void PrerenderInterceptor::PrerenderDispatch(
73 const GURL& url) { 72 const GURL& url) {
74 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 73 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
75 DVLOG(2) << "PrerenderDispatchOnUIThread: url=" << url; 74 DVLOG(2) << "PrerenderDispatchOnUIThread: url=" << url;
76 } 75 }
77 76
78 } // namespace chrome_browser_net 77 } // namespace chrome_browser_net
79
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698