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

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

Issue 6825038: Create a content::ResourceContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Oops, inverted the assertions. Created 9 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 | 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/hash_tables.h" 10 #include "base/hash_tables.h"
(...skipping 21 matching lines...) Expand all
32 // Init() must be called before ~Handle(). It records all the necessary 32 // Init() must be called before ~Handle(). It records all the necessary
33 // parameters needed to construct a ChromeURLRequestContextGetter. 33 // parameters needed to construct a ChromeURLRequestContextGetter.
34 void Init(const FilePath& cookie_path, 34 void Init(const FilePath& cookie_path,
35 const FilePath& cache_path, 35 const FilePath& cache_path,
36 int cache_max_size, 36 int cache_max_size,
37 const FilePath& media_cache_path, 37 const FilePath& media_cache_path,
38 int media_cache_max_size, 38 int media_cache_max_size,
39 const FilePath& extensions_cookie_path, 39 const FilePath& extensions_cookie_path,
40 const FilePath& app_path); 40 const FilePath& app_path);
41 41
42 content::ResourceContextGetter* GetResourceContextGetter() const;
42 scoped_refptr<ChromeURLRequestContextGetter> 43 scoped_refptr<ChromeURLRequestContextGetter>
43 GetMainRequestContextGetter() const; 44 GetMainRequestContextGetter() const;
44 scoped_refptr<ChromeURLRequestContextGetter> 45 scoped_refptr<ChromeURLRequestContextGetter>
45 GetMediaRequestContextGetter() const; 46 GetMediaRequestContextGetter() const;
46 scoped_refptr<ChromeURLRequestContextGetter> 47 scoped_refptr<ChromeURLRequestContextGetter>
47 GetExtensionsRequestContextGetter() const; 48 GetExtensionsRequestContextGetter() const;
48 scoped_refptr<ChromeURLRequestContextGetter> 49 scoped_refptr<ChromeURLRequestContextGetter>
49 GetIsolatedAppRequestContextGetter( 50 GetIsolatedAppRequestContextGetter(
50 const std::string& app_id) const; 51 const std::string& app_id) const;
51 52
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 mutable HttpTransactionFactoryMap app_http_factory_map_; 142 mutable HttpTransactionFactoryMap app_http_factory_map_;
142 143
143 // Parameters needed for isolated apps. 144 // Parameters needed for isolated apps.
144 FilePath app_path_; 145 FilePath app_path_;
145 bool clear_local_state_on_exit_; 146 bool clear_local_state_on_exit_;
146 147
147 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); 148 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
148 }; 149 };
149 150
150 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 151 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698