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

Side by Side Diff: chrome/browser/sync/glue/autofill_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 (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_BROWSER_SYNC_GLUE_AUTOFILL_DATA_TYPE_CONTROLLER_H__ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_AUTOFILL_DATA_TYPE_CONTROLLER_H__
6 #define CHROME_BROWSER_SYNC_GLUE_AUTOFILL_DATA_TYPE_CONTROLLER_H__ 6 #define CHROME_BROWSER_SYNC_GLUE_AUTOFILL_DATA_TYPE_CONTROLLER_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 12 matching lines...) Expand all
23 23
24 // A class that manages the startup and shutdown of autofill sync. 24 // A class that manages the startup and shutdown of autofill sync.
25 class AutofillDataTypeController 25 class AutofillDataTypeController
26 : public sync_driver::NonUIDataTypeController { 26 : public sync_driver::NonUIDataTypeController {
27 public: 27 public:
28 AutofillDataTypeController( 28 AutofillDataTypeController(
29 ProfileSyncComponentsFactory* profile_sync_factory, 29 ProfileSyncComponentsFactory* profile_sync_factory,
30 Profile* profile); 30 Profile* profile);
31 31
32 // NonUIDataTypeController implementation. 32 // NonUIDataTypeController implementation.
33 virtual syncer::ModelType type() const OVERRIDE; 33 virtual syncer::ModelType type() const override;
34 virtual syncer::ModelSafeGroup model_safe_group() const OVERRIDE; 34 virtual syncer::ModelSafeGroup model_safe_group() const override;
35 35
36 // NonFrontendDatatypeController override, needed as stop-gap until bug 36 // NonFrontendDatatypeController override, needed as stop-gap until bug
37 // 163431 is addressed / implemented. 37 // 163431 is addressed / implemented.
38 virtual void StartAssociating(const StartCallback& start_callback) OVERRIDE; 38 virtual void StartAssociating(const StartCallback& start_callback) override;
39 39
40 protected: 40 protected:
41 virtual ~AutofillDataTypeController(); 41 virtual ~AutofillDataTypeController();
42 42
43 // NonUIDataTypeController implementation. 43 // NonUIDataTypeController implementation.
44 virtual bool PostTaskOnBackendThread( 44 virtual bool PostTaskOnBackendThread(
45 const tracked_objects::Location& from_here, 45 const tracked_objects::Location& from_here,
46 const base::Closure& task) OVERRIDE; 46 const base::Closure& task) override;
47 virtual bool StartModels() OVERRIDE; 47 virtual bool StartModels() override;
48 48
49 private: 49 private:
50 friend class AutofillDataTypeControllerTest; 50 friend class AutofillDataTypeControllerTest;
51 FRIEND_TEST_ALL_PREFIXES(AutofillDataTypeControllerTest, StartWDSReady); 51 FRIEND_TEST_ALL_PREFIXES(AutofillDataTypeControllerTest, StartWDSReady);
52 FRIEND_TEST_ALL_PREFIXES(AutofillDataTypeControllerTest, StartWDSNotReady); 52 FRIEND_TEST_ALL_PREFIXES(AutofillDataTypeControllerTest, StartWDSNotReady);
53 53
54 // Callback once WebDatabase has loaded. 54 // Callback once WebDatabase has loaded.
55 void WebDatabaseLoaded(); 55 void WebDatabaseLoaded();
56 56
57 Profile* const profile_; 57 Profile* const profile_;
58 58
59 DISALLOW_COPY_AND_ASSIGN(AutofillDataTypeController); 59 DISALLOW_COPY_AND_ASSIGN(AutofillDataTypeController);
60 }; 60 };
61 61
62 } // namespace browser_sync 62 } // namespace browser_sync
63 63
64 #endif // CHROME_BROWSER_SYNC_GLUE_AUTOFILL_DATA_TYPE_CONTROLLER_H__ 64 #endif // CHROME_BROWSER_SYNC_GLUE_AUTOFILL_DATA_TYPE_CONTROLLER_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698