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

Side by Side Diff: content/browser/worker_host/worker_process_host.cc

Issue 6628035: Move resource related IPCs to their own file in content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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) 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 "content/browser/worker_host/worker_process_host.h" 5 #include "content/browser/worker_host/worker_process_host.h"
6 6
7 #include <set> 7 #include <set>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 class URLRequestContextOverride 48 class URLRequestContextOverride
49 : public ResourceMessageFilter::URLRequestContextOverride { 49 : public ResourceMessageFilter::URLRequestContextOverride {
50 public: 50 public:
51 explicit URLRequestContextOverride( 51 explicit URLRequestContextOverride(
52 net::URLRequestContext* url_request_context) 52 net::URLRequestContext* url_request_context)
53 : url_request_context_(url_request_context) { 53 : url_request_context_(url_request_context) {
54 } 54 }
55 virtual ~URLRequestContextOverride() {} 55 virtual ~URLRequestContextOverride() {}
56 56
57 virtual net::URLRequestContext* GetRequestContext( 57 virtual net::URLRequestContext* GetRequestContext(
58 const ViewHostMsg_Resource_Request& resource_request) { 58 const ResourceHostMsg_Request& resource_request) {
59 return url_request_context_; 59 return url_request_context_;
60 } 60 }
61 61
62 private: 62 private:
63 net::URLRequestContext* url_request_context_; 63 net::URLRequestContext* url_request_context_;
64 }; 64 };
65 65
66 } // namespace 66 } // namespace
67 67
68 // Notifies RenderViewHost that one or more worker objects crashed. 68 // Notifies RenderViewHost that one or more worker objects crashed.
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 } 602 }
603 } 603 }
604 return false; 604 return false;
605 } 605 }
606 606
607 WorkerProcessHost::WorkerInstance::FilterInfo 607 WorkerProcessHost::WorkerInstance::FilterInfo
608 WorkerProcessHost::WorkerInstance::GetFilter() const { 608 WorkerProcessHost::WorkerInstance::GetFilter() const {
609 DCHECK(NumFilters() == 1); 609 DCHECK(NumFilters() == 1);
610 return *filters_.begin(); 610 return *filters_.begin();
611 } 611 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/x509_user_cert_resource_handler.cc ('k') | content/common/common_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698