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

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

Issue 7827033: Introduce net::HttpServerPropertiesManager to manage server-specific properties. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 scoped_refptr<ChromeURLRequestContextGetter> 51 scoped_refptr<ChromeURLRequestContextGetter>
52 GetMainRequestContextGetter() const; 52 GetMainRequestContextGetter() const;
53 scoped_refptr<ChromeURLRequestContextGetter> 53 scoped_refptr<ChromeURLRequestContextGetter>
54 GetMediaRequestContextGetter() const; 54 GetMediaRequestContextGetter() const;
55 scoped_refptr<ChromeURLRequestContextGetter> 55 scoped_refptr<ChromeURLRequestContextGetter>
56 GetExtensionsRequestContextGetter() const; 56 GetExtensionsRequestContextGetter() const;
57 scoped_refptr<ChromeURLRequestContextGetter> 57 scoped_refptr<ChromeURLRequestContextGetter>
58 GetIsolatedAppRequestContextGetter( 58 GetIsolatedAppRequestContextGetter(
59 const std::string& app_id) const; 59 const std::string& app_id) const;
60 60
61 void DeleteTransportSecurityStateSince(base::Time time); 61 void ClearNetworkingHistorySince(base::Time time);
62 62
63 private: 63 private:
64 typedef base::hash_map<std::string, 64 typedef base::hash_map<std::string,
65 scoped_refptr<ChromeURLRequestContextGetter> > 65 scoped_refptr<ChromeURLRequestContextGetter> >
66 ChromeURLRequestContextGetterMap; 66 ChromeURLRequestContextGetterMap;
67 67
68 // Lazily initialize ProfileParams. We do this on the calls to 68 // Lazily initialize ProfileParams. We do this on the calls to
69 // Get*RequestContextGetter(), so we only initialize ProfileParams right 69 // Get*RequestContextGetter(), so we only initialize ProfileParams right
70 // before posting a task to the IO thread to start using them. This prevents 70 // before posting a task to the IO thread to start using them. This prevents
71 // objects that are supposed to be deleted on the IO thread, but are created 71 // objects that are supposed to be deleted on the IO thread, but are created
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_; 139 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_;
140 140
141 // Parameters needed for isolated apps. 141 // Parameters needed for isolated apps.
142 FilePath app_path_; 142 FilePath app_path_;
143 mutable bool clear_local_state_on_exit_; 143 mutable bool clear_local_state_on_exit_;
144 144
145 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); 145 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
146 }; 146 };
147 147
148 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 148 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698