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

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

Issue 10913265: Redo the Storage Partition directory layout to support guest tags and origin based partitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 3 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_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 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/hash_tables.h" 10 #include "base/hash_tables.h"
(...skipping 26 matching lines...) Expand all
37 37
38 // Init() must be called before ~Handle(). It records all the necessary 38 // Init() must be called before ~Handle(). It records all the necessary
39 // parameters needed to construct a ChromeURLRequestContextGetter. 39 // parameters needed to construct a ChromeURLRequestContextGetter.
40 void Init(const FilePath& cookie_path, 40 void Init(const FilePath& cookie_path,
41 const FilePath& server_bound_cert_path, 41 const FilePath& server_bound_cert_path,
42 const FilePath& cache_path, 42 const FilePath& cache_path,
43 int cache_max_size, 43 int cache_max_size,
44 const FilePath& media_cache_path, 44 const FilePath& media_cache_path,
45 int media_cache_max_size, 45 int media_cache_max_size,
46 const FilePath& extensions_cookie_path, 46 const FilePath& extensions_cookie_path,
47 const FilePath& app_path, 47 const FilePath& profile_path,
48 const FilePath& infinite_cache_path, 48 const FilePath& infinite_cache_path,
49 chrome_browser_net::Predictor* predictor, 49 chrome_browser_net::Predictor* predictor,
50 PrefService* local_state, 50 PrefService* local_state,
51 IOThread* io_thread, 51 IOThread* io_thread,
52 bool restore_old_session_cookies, 52 bool restore_old_session_cookies,
53 quota::SpecialStoragePolicy* special_storage_policy); 53 quota::SpecialStoragePolicy* special_storage_policy);
54 54
55 base::Callback<ChromeURLDataManagerBackend*(void)> 55 base::Callback<ChromeURLDataManagerBackend*(void)>
56 GetChromeURLDataManagerBackendGetter() const; 56 GetChromeURLDataManagerBackendGetter() const;
57 content::ResourceContext* GetResourceContext() const; 57 content::ResourceContext* GetResourceContext() const;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 170
171 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_; 171 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_;
172 172
173 mutable scoped_ptr<ChromeURLRequestContext> media_request_context_; 173 mutable scoped_ptr<ChromeURLRequestContext> media_request_context_;
174 174
175 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_; 175 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_;
176 mutable scoped_ptr<net::URLRequestJobFactory> media_request_job_factory_; 176 mutable scoped_ptr<net::URLRequestJobFactory> media_request_job_factory_;
177 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_; 177 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_;
178 178
179 // Parameters needed for isolated apps. 179 // Parameters needed for isolated apps.
180 FilePath app_path_; 180 FilePath profile_path_;
181 int app_cache_max_size_; 181 int app_cache_max_size_;
182 int app_media_cache_max_size_; 182 int app_media_cache_max_size_;
183 183
184 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); 184 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
185 }; 185 };
186 186
187 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 187 #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