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

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

Issue 1312453005: Removed Profile::GetHostContentSettingsMap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed patch conflict Created 5 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
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 // This class gathers state related to a single user profile. 5 // This class gathers state related to a single user profile.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // Returns the main request context. 203 // Returns the main request context.
204 net::URLRequestContextGetter* GetRequestContext() override = 0; 204 net::URLRequestContextGetter* GetRequestContext() override = 0;
205 205
206 // Returns the request context used for extension-related requests. This 206 // Returns the request context used for extension-related requests. This
207 // is only used for a separate cookie store currently. 207 // is only used for a separate cookie store currently.
208 virtual net::URLRequestContextGetter* GetRequestContextForExtensions() = 0; 208 virtual net::URLRequestContextGetter* GetRequestContextForExtensions() = 0;
209 209
210 // Returns the SSLConfigService for this profile. 210 // Returns the SSLConfigService for this profile.
211 virtual net::SSLConfigService* GetSSLConfigService() = 0; 211 virtual net::SSLConfigService* GetSSLConfigService() = 0;
212 212
213 // Returns the Hostname <-> Content settings map for this profile.
214 virtual HostContentSettingsMap* GetHostContentSettingsMap() = 0;
215
216 // Return whether 2 profiles are the same. 2 profiles are the same if they 213 // Return whether 2 profiles are the same. 2 profiles are the same if they
217 // represent the same profile. This can happen if there is pointer equality 214 // represent the same profile. This can happen if there is pointer equality
218 // or if one profile is the incognito version of another profile (or vice 215 // or if one profile is the incognito version of another profile (or vice
219 // versa). 216 // versa).
220 virtual bool IsSameProfile(Profile* profile) = 0; 217 virtual bool IsSameProfile(Profile* profile) = 0;
221 218
222 // Returns the time the profile was started. This is not the time the profile 219 // Returns the time the profile was started. This is not the time the profile
223 // was created, rather it is the time the user started chrome and logged into 220 // was created, rather it is the time the user started chrome and logged into
224 // this profile. For the single profile case, this corresponds to the time 221 // this profile. For the single profile case, this corresponds to the time
225 // the user started chrome. 222 // the user started chrome.
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 395
399 DISALLOW_COPY_AND_ASSIGN(Profile); 396 DISALLOW_COPY_AND_ASSIGN(Profile);
400 }; 397 };
401 398
402 // The comparator for profile pointers as key in a map. 399 // The comparator for profile pointers as key in a map.
403 struct ProfileCompare { 400 struct ProfileCompare {
404 bool operator()(Profile* a, Profile* b) const; 401 bool operator()(Profile* a, Profile* b) const;
405 }; 402 };
406 403
407 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ 404 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.cc ('k') | chrome/browser/profiles/profile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698