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

Side by Side Diff: chrome/test/base/testing_profile.h

Issue 2298283002: Site Settings Desktop: Support adding exceptions for incognito mode. (Closed)
Patch Set: Fix test Created 4 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
« no previous file with comments | « chrome/browser/ui/webui/site_settings_helper.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_ 5 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_
6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ 6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 286
287 PrefService* GetPrefs() override; 287 PrefService* GetPrefs() override;
288 const PrefService* GetPrefs() const override; 288 const PrefService* GetPrefs() const override;
289 ChromeZoomLevelPrefs* GetZoomLevelPrefs() override; 289 ChromeZoomLevelPrefs* GetZoomLevelPrefs() override;
290 net::URLRequestContextGetter* GetRequestContext() override; 290 net::URLRequestContextGetter* GetRequestContext() override;
291 net::URLRequestContextGetter* GetRequestContextForExtensions() override; 291 net::URLRequestContextGetter* GetRequestContextForExtensions() override;
292 net::SSLConfigService* GetSSLConfigService() override; 292 net::SSLConfigService* GetSSLConfigService() override;
293 void set_last_session_exited_cleanly(bool value) { 293 void set_last_session_exited_cleanly(bool value) {
294 last_session_exited_cleanly_ = value; 294 last_session_exited_cleanly_ = value;
295 } 295 }
296 bool IsSameProfile(Profile* p) override; 296 bool IsSameProfile(Profile* profile) override;
297 base::Time GetStartTime() const override; 297 base::Time GetStartTime() const override;
298 base::FilePath last_selected_directory() override; 298 base::FilePath last_selected_directory() override;
299 void set_last_selected_directory(const base::FilePath& path) override; 299 void set_last_selected_directory(const base::FilePath& path) override;
300 bool WasCreatedByVersionOrLater(const std::string& version) override; 300 bool WasCreatedByVersionOrLater(const std::string& version) override;
301 bool IsGuestSession() const override; 301 bool IsGuestSession() const override;
302 void SetExitType(ExitType exit_type) override {} 302 void SetExitType(ExitType exit_type) override {}
303 ExitType GetLastSessionExitType() override; 303 ExitType GetLastSessionExitType() override;
304 #if defined(OS_CHROMEOS) 304 #if defined(OS_CHROMEOS)
305 void ChangeAppLocale(const std::string&, AppLocaleChangedVia) override {} 305 void ChangeAppLocale(const std::string&, AppLocaleChangedVia) override {}
306 void OnLogin() override {} 306 void OnLogin() override {}
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 413
414 // Weak pointer to a delegate for indicating that a profile was created. 414 // Weak pointer to a delegate for indicating that a profile was created.
415 Delegate* delegate_; 415 Delegate* delegate_;
416 416
417 std::string profile_name_; 417 std::string profile_name_;
418 418
419 std::unique_ptr<policy::PolicyService> policy_service_; 419 std::unique_ptr<policy::PolicyService> policy_service_;
420 }; 420 };
421 421
422 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 422 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/site_settings_helper.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698