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

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

Issue 9369009: Make content::ResourceContext be a real interface like the rest of the Content API (i.e. don't ha... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 8 years, 10 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) 2011 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"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
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);
50 50
51 base::Callback<ChromeURLDataManagerBackend*(void)> 51 base::Callback<ChromeURLDataManagerBackend*(void)>
52 GetChromeURLDataManagerBackendGetter() const; 52 GetChromeURLDataManagerBackendGetter() const;
53 const content::ResourceContext& GetResourceContext() const; 53 content::ResourceContext* GetResourceContext() const;
54 // GetResourceContextNoInit() does not call LazyInitialize() so it can be 54 // GetResourceContextNoInit() does not call LazyInitialize() so it can be
55 // safely be used during initialization. 55 // safely be used during initialization.
56 const content::ResourceContext& GetResourceContextNoInit() const; 56 content::ResourceContext* GetResourceContextNoInit() const;
57 scoped_refptr<ChromeURLRequestContextGetter> 57 scoped_refptr<ChromeURLRequestContextGetter>
58 GetMainRequestContextGetter() const; 58 GetMainRequestContextGetter() const;
59 scoped_refptr<ChromeURLRequestContextGetter> 59 scoped_refptr<ChromeURLRequestContextGetter>
60 GetMediaRequestContextGetter() const; 60 GetMediaRequestContextGetter() const;
61 scoped_refptr<ChromeURLRequestContextGetter> 61 scoped_refptr<ChromeURLRequestContextGetter>
62 GetExtensionsRequestContextGetter() const; 62 GetExtensionsRequestContextGetter() const;
63 scoped_refptr<ChromeURLRequestContextGetter> 63 scoped_refptr<ChromeURLRequestContextGetter>
64 GetIsolatedAppRequestContextGetter( 64 GetIsolatedAppRequestContextGetter(
65 const std::string& app_id) const; 65 const std::string& app_id) const;
66 66
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
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