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

Side by Side Diff: content/browser/renderer_host/resource_dispatcher_host.cc

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading 5 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading
6 6
7 #include "content/browser/renderer_host/resource_dispatcher_host.h" 7 #include "content/browser/renderer_host/resource_dispatcher_host.h"
8 8
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 #include "webkit/appcache/appcache_interceptor.h" 82 #include "webkit/appcache/appcache_interceptor.h"
83 #include "webkit/appcache/appcache_interfaces.h" 83 #include "webkit/appcache/appcache_interfaces.h"
84 #include "webkit/blob/blob_storage_controller.h" 84 #include "webkit/blob/blob_storage_controller.h"
85 #include "webkit/blob/shareable_file_reference.h" 85 #include "webkit/blob/shareable_file_reference.h"
86 86
87 using base::Time; 87 using base::Time;
88 using base::TimeDelta; 88 using base::TimeDelta;
89 using base::TimeTicks; 89 using base::TimeTicks;
90 using content::BrowserThread; 90 using content::BrowserThread;
91 using content::GlobalRequestID; 91 using content::GlobalRequestID;
92 using content::RenderViewHostImpl;
92 using content::ResourceContext; 93 using content::ResourceContext;
93 using content::ResourceResponse; 94 using content::ResourceResponse;
94 using content::ResourceThrottle; 95 using content::ResourceThrottle;
95 using content::ThrottlingResourceHandler; 96 using content::ThrottlingResourceHandler;
96 using content::WebContents; 97 using content::WebContents;
97 using content::WorkerServiceImpl; 98 using content::WorkerServiceImpl;
98 using webkit_blob::ShareableFileReference; 99 using webkit_blob::ShareableFileReference;
99 100
100 // ---------------------------------------------------------------------------- 101 // ----------------------------------------------------------------------------
101 102
(...skipping 2181 matching lines...) Expand 10 before | Expand all | Expand 10 after
2283 scoped_refptr<ResourceHandler> transferred_resource_handler( 2284 scoped_refptr<ResourceHandler> transferred_resource_handler(
2284 new DoomedResourceHandler(info->resource_handler())); 2285 new DoomedResourceHandler(info->resource_handler()));
2285 info->set_resource_handler(transferred_resource_handler.get()); 2286 info->set_resource_handler(transferred_resource_handler.get());
2286 } 2287 }
2287 2288
2288 bool ResourceDispatcherHost::IsTransferredNavigation( 2289 bool ResourceDispatcherHost::IsTransferredNavigation(
2289 const content::GlobalRequestID& transferred_request_id) const { 2290 const content::GlobalRequestID& transferred_request_id) const {
2290 return transferred_navigations_.find(transferred_request_id) != 2291 return transferred_navigations_.find(transferred_request_id) !=
2291 transferred_navigations_.end(); 2292 transferred_navigations_.end();
2292 } 2293 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698