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

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

Issue 3461019: FBTF: Move virtual methods to implementation files. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Win+chromeos+mac fixes Created 10 years, 3 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) 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/connect_interceptor.h" 5 #include "chrome/browser/net/connect_interceptor.h"
6 6
7 #include "chrome/browser/net/predictor_api.h" 7 #include "chrome/browser/net/predictor_api.h"
8 #include "net/base/load_flags.h" 8 #include "net/base/load_flags.h"
9 9
10 namespace chrome_browser_net { 10 namespace chrome_browser_net {
(...skipping 30 matching lines...) Expand all
41 } 41 }
42 42
43 // Subresources for main frames usually get loaded when we detected the main 43 // Subresources for main frames usually get loaded when we detected the main
44 // frame - way back in RenderViewHost::Navigate. So only use subresource 44 // frame - way back in RenderViewHost::Navigate. So only use subresource
45 // prediction here for subframes. 45 // prediction here for subframes.
46 if (request->load_flags() & net::LOAD_SUB_FRAME) 46 if (request->load_flags() & net::LOAD_SUB_FRAME)
47 PredictFrameSubresources(request->url().GetWithEmptyPath()); 47 PredictFrameSubresources(request->url().GetWithEmptyPath());
48 return NULL; 48 return NULL;
49 } 49 }
50 50
51 URLRequestJob* ConnectInterceptor::MaybeInterceptResponse(URLRequest* request) {
52 return NULL;
53 }
54
55 URLRequestJob* ConnectInterceptor::MaybeInterceptRedirect(
56 URLRequest* request,
57 const GURL& location) {
58 return NULL;
59 }
60
51 } // namespace chrome_browser_net 61 } // namespace chrome_browser_net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698