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

Side by Side Diff: chrome/browser/supervised_user/supervised_user_sync_data_type_controller.h

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_DATA_TYPE_CONTROLLER _H_ 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_DATA_TYPE_CONTROLLER _H_
6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_DATA_TYPE_CONTROLLER _H_ 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_DATA_TYPE_CONTROLLER _H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "components/sync_driver/data_type_controller.h" 10 #include "components/sync_driver/data_type_controller.h"
11 #include "components/sync_driver/ui_data_type_controller.h" 11 #include "components/sync_driver/ui_data_type_controller.h"
12 12
13 namespace sync_driver { 13 namespace sync_driver {
14 class SyncApiComponentFactory; 14 class SyncApiComponentFactory;
15 } 15 }
16 16
17 class Profile; 17 class Profile;
18 18
19 // A UIDataTypeController for supervised user sync datatypes, which enables or 19 // A UIDataTypeController for supervised user sync datatypes, which enables or
20 // disables these types based on the profile's IsSupervised state. 20 // disables these types based on the profile's IsSupervised state.
21 class SupervisedUserSyncDataTypeController 21 class SupervisedUserSyncDataTypeController
22 : public sync_driver::UIDataTypeController { 22 : public sync_driver::UIDataTypeController {
23 public: 23 public:
24 SupervisedUserSyncDataTypeController( 24 SupervisedUserSyncDataTypeController(
25 syncer::ModelType type, 25 syncer::ModelType type,
26 sync_driver::SyncApiComponentFactory* sync_factory, 26 sync_driver::SyncApiComponentFactory* sync_factory,
27 Profile* profile); 27 Profile* profile);
28 28
29 virtual bool ReadyForStart() const OVERRIDE; 29 virtual bool ReadyForStart() const override;
30 30
31 private: 31 private:
32 // DataTypeController is RefCounted. 32 // DataTypeController is RefCounted.
33 virtual ~SupervisedUserSyncDataTypeController(); 33 virtual ~SupervisedUserSyncDataTypeController();
34 34
35 Profile* profile_; 35 Profile* profile_;
36 36
37 DISALLOW_COPY_AND_ASSIGN(SupervisedUserSyncDataTypeController); 37 DISALLOW_COPY_AND_ASSIGN(SupervisedUserSyncDataTypeController);
38 }; 38 };
39 39
40 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_DATA_TYPE_CONTROL LER_H_ 40 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SYNC_DATA_TYPE_CONTROL LER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698