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

Side by Side Diff: chrome/browser/chromeos/login/users/fake_user_manager.cc

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "chrome/browser/chromeos/login/users/fake_user_manager.h" 5 #include "chrome/browser/chromeos/login/users/fake_user_manager.h"
6 6
7 #include "base/task_runner.h" 7 #include "base/task_runner.h"
8 #include "chrome/browser/chromeos/login/users/fake_supervised_user_manager.h" 8 #include "chrome/browser/chromeos/login/users/fake_supervised_user_manager.h"
9 #include "chrome/browser/chromeos/profiles/profile_helper.h" 9 #include "chrome/browser/chromeos/profiles/profile_helper.h"
10 #include "chrome/grit/theme_resources.h" 10 #include "chrome/grit/theme_resources.h"
11 #include "components/user_manager/user_image/user_image.h" 11 #include "components/user_manager/user_image/user_image.h"
12 #include "components/user_manager/user_type.h" 12 #include "components/user_manager/user_type.h"
13 #include "ui/base/resource/resource_bundle.h" 13 #include "ui/base/resource/resource_bundle.h"
14 14
15 namespace { 15 namespace {
16 16
17 class FakeTaskRunner : public base::TaskRunner { 17 class FakeTaskRunner : public base::TaskRunner {
18 public: 18 public:
19 virtual bool PostDelayedTask(const tracked_objects::Location& from_here, 19 virtual bool PostDelayedTask(const tracked_objects::Location& from_here,
20 const base::Closure& task, 20 const base::Closure& task,
21 base::TimeDelta delay) OVERRIDE { 21 base::TimeDelta delay) override {
22 task.Run(); 22 task.Run();
23 return true; 23 return true;
24 } 24 }
25 virtual bool RunsTasksOnCurrentThread() const OVERRIDE { return true; } 25 virtual bool RunsTasksOnCurrentThread() const override { return true; }
26 26
27 protected: 27 protected:
28 virtual ~FakeTaskRunner() {} 28 virtual ~FakeTaskRunner() {}
29 }; 29 };
30 30
31 } // namespace 31 } // namespace
32 32
33 namespace chromeos { 33 namespace chromeos {
34 34
35 FakeUserManager::FakeUserManager() 35 FakeUserManager::FakeUserManager()
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 bool FakeUserManager::IsKioskApp(const std::string& user_id) const { 341 bool FakeUserManager::IsKioskApp(const std::string& user_id) const {
342 return false; 342 return false;
343 } 343 }
344 344
345 bool FakeUserManager::IsPublicAccountMarkedForRemoval( 345 bool FakeUserManager::IsPublicAccountMarkedForRemoval(
346 const std::string& user_id) const { 346 const std::string& user_id) const {
347 return false; 347 return false;
348 } 348 }
349 349
350 } // namespace chromeos 350 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/users/fake_user_manager.h ('k') | chrome/browser/chromeos/login/users/mock_user_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698