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

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

Issue 869753002: Update {virtual,override,final} to follow C++11 style in chrome, round 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix format Created 5 years, 11 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 #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 <string> 8 #include <string>
9 9
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 } 303 }
304 bool IsSameProfile(Profile* p) override; 304 bool IsSameProfile(Profile* p) override;
305 base::Time GetStartTime() const override; 305 base::Time GetStartTime() const override;
306 base::FilePath last_selected_directory() override; 306 base::FilePath last_selected_directory() override;
307 void set_last_selected_directory(const base::FilePath& path) override; 307 void set_last_selected_directory(const base::FilePath& path) override;
308 bool WasCreatedByVersionOrLater(const std::string& version) override; 308 bool WasCreatedByVersionOrLater(const std::string& version) override;
309 bool IsGuestSession() const override; 309 bool IsGuestSession() const override;
310 void SetExitType(ExitType exit_type) override {} 310 void SetExitType(ExitType exit_type) override {}
311 ExitType GetLastSessionExitType() override; 311 ExitType GetLastSessionExitType() override;
312 #if defined(OS_CHROMEOS) 312 #if defined(OS_CHROMEOS)
313 virtual void ChangeAppLocale(const std::string&, 313 void ChangeAppLocale(const std::string&, AppLocaleChangedVia) override {}
314 AppLocaleChangedVia) override { 314 void OnLogin() override {}
315 } 315 void InitChromeOSPreferences() override {}
316 virtual void OnLogin() override {
317 }
318 virtual void InitChromeOSPreferences() override {
319 }
320 #endif // defined(OS_CHROMEOS) 316 #endif // defined(OS_CHROMEOS)
321 317
322 PrefProxyConfigTracker* GetProxyConfigTracker() override; 318 PrefProxyConfigTracker* GetProxyConfigTracker() override;
323 319
324 // Schedules a task on the history backend and runs a nested loop until the 320 // Schedules a task on the history backend and runs a nested loop until the
325 // task is processed. This has the effect of blocking the caller until the 321 // task is processed. This has the effect of blocking the caller until the
326 // history service processes all pending requests. 322 // history service processes all pending requests.
327 void BlockUntilHistoryProcessesPendingRequests(); 323 void BlockUntilHistoryProcessesPendingRequests();
328 324
329 chrome_browser_net::Predictor* GetNetworkPredictor() override; 325 chrome_browser_net::Predictor* GetNetworkPredictor() override;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 413
418 // 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.
419 Delegate* delegate_; 415 Delegate* delegate_;
420 416
421 std::string profile_name_; 417 std::string profile_name_;
422 418
423 scoped_ptr<policy::PolicyService> policy_service_; 419 scoped_ptr<policy::PolicyService> policy_service_;
424 }; 420 };
425 421
426 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 422 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/test/base/testing_browser_process_platform_part.h ('k') | chrome/test/base/view_event_test_platform_part_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698