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

Side by Side Diff: chrome/browser/profiles/off_the_record_profile_io_data.h

Issue 10836305: Ensure that isolated apps use the right cookies for media requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initial version Created 8 years, 4 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 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IO_DATA_H_ 5 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IO_DATA_H_
6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IO_DATA_H_ 6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IO_DATA_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 ProfileParams* profile_params) const OVERRIDE; 99 ProfileParams* profile_params) const OVERRIDE;
100 virtual ChromeURLRequestContext* InitializeAppRequestContext( 100 virtual ChromeURLRequestContext* InitializeAppRequestContext(
101 ChromeURLRequestContext* main_context, 101 ChromeURLRequestContext* main_context,
102 const std::string& app_id) const OVERRIDE; 102 const std::string& app_id) const OVERRIDE;
103 virtual ChromeURLRequestContext* 103 virtual ChromeURLRequestContext*
104 AcquireMediaRequestContext() const OVERRIDE; 104 AcquireMediaRequestContext() const OVERRIDE;
105 virtual ChromeURLRequestContext* 105 virtual ChromeURLRequestContext*
106 AcquireIsolatedAppRequestContext( 106 AcquireIsolatedAppRequestContext(
107 ChromeURLRequestContext* main_context, 107 ChromeURLRequestContext* main_context,
108 const std::string& app_id) const OVERRIDE; 108 const std::string& app_id) const OVERRIDE;
109 virtual ChromeURLRequestContext*
110 AcquireIsolatedMediaRequestContext(
111 ChromeURLRequestContext* app_context,
112 const std::string& app_id) const OVERRIDE;
109 113
110 void CreateFtpProtocolHandler(net::URLRequestJobFactory* job_factory, 114 void CreateFtpProtocolHandler(net::URLRequestJobFactory* job_factory,
111 net::FtpAuthCache* ftp_auth_cache) const; 115 net::FtpAuthCache* ftp_auth_cache) const;
112 116
113 virtual chrome_browser_net::CacheStats* GetCacheStats( 117 virtual chrome_browser_net::CacheStats* GetCacheStats(
114 IOThread::Globals* io_thread_globals) const OVERRIDE; 118 IOThread::Globals* io_thread_globals) const OVERRIDE;
115 119
116 mutable scoped_ptr<net::HttpServerPropertiesImpl> http_server_properties_; 120 mutable scoped_ptr<net::HttpServerPropertiesImpl> http_server_properties_;
117 121
118 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; 122 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_;
119 mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_; 123 mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_;
120 124
121 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_; 125 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_;
122 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_; 126 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_;
123 127
124 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileIOData); 128 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileIOData);
125 }; 129 };
126 130
127 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IO_DATA_H_ 131 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698