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

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

Issue 2785493003: Disable SDCH by Default (Closed)
Patch Set: Clean up IOS compilation errors and remove from IOS OTR profile. Created 3 years, 8 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) 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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/containers/hash_tables.h" 12 #include "base/containers/hash_tables.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" 16 #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
17 #include "chrome/browser/profiles/profile_io_data.h" 17 #include "chrome/browser/profiles/profile_io_data.h"
18 #include "chrome/browser/profiles/storage_partition_descriptor.h" 18 #include "chrome/browser/profiles/storage_partition_descriptor.h"
19 19
20 class ChromeURLRequestContextGetter; 20 class ChromeURLRequestContextGetter;
21 class Profile; 21 class Profile;
22 22
23 namespace net { 23 namespace net {
24 class CookieStore; 24 class CookieStore;
25 class SdchOwner;
26 class URLRequestContext; 25 class URLRequestContext;
27 } // namespace net 26 } // namespace net
28 27
29 // OffTheRecordProfile owns a OffTheRecordProfileIOData::Handle, which holds a 28 // OffTheRecordProfile owns a OffTheRecordProfileIOData::Handle, which holds a
30 // reference to the OffTheRecordProfileIOData. OffTheRecordProfileIOData is 29 // reference to the OffTheRecordProfileIOData. OffTheRecordProfileIOData is
31 // intended to own all the objects owned by OffTheRecordProfile which live on 30 // intended to own all the objects owned by OffTheRecordProfile which live on
32 // the IO thread, such as, but not limited to, network objects like 31 // the IO thread, such as, but not limited to, network objects like
33 // CookieMonster, HttpTransactionFactory, etc. OffTheRecordProfileIOData is 32 // CookieMonster, HttpTransactionFactory, etc. OffTheRecordProfileIOData is
34 // owned by the OffTheRecordProfile and OffTheRecordProfileIOData's 33 // owned by the OffTheRecordProfile and OffTheRecordProfileIOData's
35 // ChromeURLRequestContexts. When all of them go away, then ProfileIOData will 34 // ChromeURLRequestContexts. When all of them go away, then ProfileIOData will
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 content::URLRequestInterceptorScopedVector request_interceptors) 137 content::URLRequestInterceptorScopedVector request_interceptors)
139 const override; 138 const override;
140 net::URLRequestContext* AcquireIsolatedMediaRequestContext( 139 net::URLRequestContext* AcquireIsolatedMediaRequestContext(
141 net::URLRequestContext* app_context, 140 net::URLRequestContext* app_context,
142 const StoragePartitionDescriptor& partition_descriptor) const override; 141 const StoragePartitionDescriptor& partition_descriptor) const override;
143 142
144 mutable std::unique_ptr<net::CookieStore> extensions_cookie_store_; 143 mutable std::unique_ptr<net::CookieStore> extensions_cookie_store_;
145 144
146 mutable std::unique_ptr<net::URLRequestJobFactory> extensions_job_factory_; 145 mutable std::unique_ptr<net::URLRequestJobFactory> extensions_job_factory_;
147 146
148 mutable std::unique_ptr<net::SdchOwner> sdch_policy_;
149
150 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileIOData); 147 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileIOData);
151 }; 148 };
152 149
153 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IO_DATA_H_ 150 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IO_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/sdch_browsertest.cc ('k') | chrome/browser/profiles/off_the_record_profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698