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

Side by Side Diff: chrome/browser/profiles/profile_io_data.cc

Issue 9580002: Add ResourceRequestInfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 #include "chrome/browser/profiles/profile_io_data.h" 5 #include "chrome/browser/profiles/profile_io_data.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 net::URLRequest* request) const OVERRIDE { 140 net::URLRequest* request) const OVERRIDE {
141 return NULL; 141 return NULL;
142 } 142 }
143 143
144 private: 144 private:
145 const scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_; 145 const scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_;
146 146
147 DISALLOW_COPY_AND_ASSIGN(ProtocolHandlerRegistryInterceptor); 147 DISALLOW_COPY_AND_ASSIGN(ProtocolHandlerRegistryInterceptor);
148 }; 148 };
149 149
150 // TODO(darin): Move this class to src/content
150 class ChromeBlobProtocolHandler : public webkit_blob::BlobProtocolHandler { 151 class ChromeBlobProtocolHandler : public webkit_blob::BlobProtocolHandler {
151 public: 152 public:
152 ChromeBlobProtocolHandler( 153 ChromeBlobProtocolHandler(
153 webkit_blob::BlobStorageController* blob_storage_controller, 154 webkit_blob::BlobStorageController* blob_storage_controller,
154 base::MessageLoopProxy* loop_proxy) 155 base::MessageLoopProxy* loop_proxy)
155 : webkit_blob::BlobProtocolHandler(blob_storage_controller, 156 : webkit_blob::BlobProtocolHandler(blob_storage_controller,
156 loop_proxy) {} 157 loop_proxy) {}
157 158
158 virtual ~ChromeBlobProtocolHandler() {} 159 virtual ~ChromeBlobProtocolHandler() {}
159 160
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 &resource_context_)); 559 &resource_context_));
559 bool posted = BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, this); 560 bool posted = BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, this);
560 if (!posted) 561 if (!posted)
561 delete this; 562 delete this;
562 } 563 }
563 564
564 void ProfileIOData::set_origin_bound_cert_service( 565 void ProfileIOData::set_origin_bound_cert_service(
565 net::OriginBoundCertService* origin_bound_cert_service) const { 566 net::OriginBoundCertService* origin_bound_cert_service) const {
566 origin_bound_cert_service_.reset(origin_bound_cert_service); 567 origin_bound_cert_service_.reset(origin_bound_cert_service);
567 } 568 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698