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

Side by Side Diff: chrome/browser/ui/app_list/test/fake_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_UI_APP_LIST_TEST_FAKE_PROFILE_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/sequenced_task_runner.h" 10 #include "base/sequenced_task_runner.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 bool IsSupervised() const override; 60 bool IsSupervised() const override;
61 bool IsChild() const override; 61 bool IsChild() const override;
62 bool IsLegacySupervised() const override; 62 bool IsLegacySupervised() const override;
63 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; 63 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override;
64 PrefService* GetPrefs() override; 64 PrefService* GetPrefs() override;
65 const PrefService* GetPrefs() const override; 65 const PrefService* GetPrefs() const override;
66 PrefService* GetOffTheRecordPrefs() override; 66 PrefService* GetOffTheRecordPrefs() override;
67 net::URLRequestContextGetter* GetRequestContext() override; 67 net::URLRequestContextGetter* GetRequestContext() override;
68 net::URLRequestContextGetter* GetRequestContextForExtensions() override; 68 net::URLRequestContextGetter* GetRequestContextForExtensions() override;
69 net::SSLConfigService* GetSSLConfigService() override; 69 net::SSLConfigService* GetSSLConfigService() override;
70 HostContentSettingsMap* GetHostContentSettingsMap() override;
71 bool IsSameProfile(Profile* profile) override; 70 bool IsSameProfile(Profile* profile) override;
72 base::Time GetStartTime() const override; 71 base::Time GetStartTime() const override;
73 net::URLRequestContextGetter* CreateRequestContext( 72 net::URLRequestContextGetter* CreateRequestContext(
74 content::ProtocolHandlerMap* protocol_handlers, 73 content::ProtocolHandlerMap* protocol_handlers,
75 content::URLRequestInterceptorScopedVector request_interceptors) override; 74 content::URLRequestInterceptorScopedVector request_interceptors) override;
76 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 75 net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
77 const base::FilePath& partition_path, 76 const base::FilePath& partition_path,
78 bool in_memory, 77 bool in_memory,
79 content::ProtocolHandlerMap* protocol_handlers, 78 content::ProtocolHandlerMap* protocol_handlers,
80 content::URLRequestInterceptorScopedVector request_interceptors) override; 79 content::URLRequestInterceptorScopedVector request_interceptors) override;
(...skipping 17 matching lines...) Expand all
98 bool WasCreatedByVersionOrLater(const std::string& version) override; 97 bool WasCreatedByVersionOrLater(const std::string& version) override;
99 void SetExitType(ExitType exit_type) override; 98 void SetExitType(ExitType exit_type) override;
100 ExitType GetLastSessionExitType() override; 99 ExitType GetLastSessionExitType() override;
101 100
102 private: 101 private:
103 std::string name_; 102 std::string name_;
104 base::FilePath path_; 103 base::FilePath path_;
105 }; 104 };
106 105
107 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ 106 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698