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

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

Issue 9617039: Change Origin bound certs -> Domain bound certs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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) 2011 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_PROFILE_IMPL_IO_DATA_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/hash_tables.h" 11 #include "base/hash_tables.h"
(...skipping 17 matching lines...) Expand all
29 explicit Handle(Profile* profile); 29 explicit Handle(Profile* profile);
30 ~Handle(); 30 ~Handle();
31 31
32 bool HasMainRequestContext() const { 32 bool HasMainRequestContext() const {
33 return main_request_context_getter_ != NULL; 33 return main_request_context_getter_ != NULL;
34 } 34 }
35 35
36 // Init() must be called before ~Handle(). It records all the necessary 36 // Init() must be called before ~Handle(). It records all the necessary
37 // parameters needed to construct a ChromeURLRequestContextGetter. 37 // parameters needed to construct a ChromeURLRequestContextGetter.
38 void Init(const FilePath& cookie_path, 38 void Init(const FilePath& cookie_path,
39 const FilePath& origin_bound_cert_path, 39 const FilePath& server_bound_cert_path,
40 const FilePath& cache_path, 40 const FilePath& cache_path,
41 int cache_max_size, 41 int cache_max_size,
42 const FilePath& media_cache_path, 42 const FilePath& media_cache_path,
43 int media_cache_max_size, 43 int media_cache_max_size,
44 const FilePath& extensions_cookie_path, 44 const FilePath& extensions_cookie_path,
45 const FilePath& app_path, 45 const FilePath& app_path,
46 chrome_browser_net::Predictor* predictor, 46 chrome_browser_net::Predictor* predictor,
47 PrefService* local_state, 47 PrefService* local_state,
48 IOThread* io_thread, 48 IOThread* io_thread,
49 bool restore_old_session_cookies); 49 bool restore_old_session_cookies);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 private: 105 private:
106 friend class base::RefCountedThreadSafe<ProfileImplIOData>; 106 friend class base::RefCountedThreadSafe<ProfileImplIOData>;
107 107
108 struct LazyParams { 108 struct LazyParams {
109 LazyParams(); 109 LazyParams();
110 ~LazyParams(); 110 ~LazyParams();
111 111
112 // All of these parameters are intended to be read on the IO thread. 112 // All of these parameters are intended to be read on the IO thread.
113 FilePath cookie_path; 113 FilePath cookie_path;
114 FilePath origin_bound_cert_path; 114 FilePath server_bound_cert_path;
115 FilePath cache_path; 115 FilePath cache_path;
116 int cache_max_size; 116 int cache_max_size;
117 FilePath media_cache_path; 117 FilePath media_cache_path;
118 int media_cache_max_size; 118 int media_cache_max_size;
119 FilePath extensions_cookie_path; 119 FilePath extensions_cookie_path;
120 bool restore_old_session_cookies; 120 bool restore_old_session_cookies;
121 }; 121 };
122 122
123 typedef base::hash_map<std::string, net::HttpTransactionFactory* > 123 typedef base::hash_map<std::string, net::HttpTransactionFactory* >
124 HttpTransactionFactoryMap; 124 HttpTransactionFactoryMap;
(...skipping 28 matching lines...) Expand all
153 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_; 153 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_;
154 154
155 // Parameters needed for isolated apps. 155 // Parameters needed for isolated apps.
156 FilePath app_path_; 156 FilePath app_path_;
157 mutable bool clear_local_state_on_exit_; 157 mutable bool clear_local_state_on_exit_;
158 158
159 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); 159 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
160 }; 160 };
161 161
162 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 162 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698