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

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/register_app_task.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FILE_SYSTEM_DRIVE_BACKEND_REGISTER_APP_TASK_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_REGISTER_APP_TASK_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_REGISTER_APP_TASK_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_REGISTER_APP_TASK_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 19 matching lines...) Expand all
30 class MetadataDatabase; 30 class MetadataDatabase;
31 class SyncEngineContext; 31 class SyncEngineContext;
32 class TrackerIDSet; 32 class TrackerIDSet;
33 33
34 class RegisterAppTask : public ExclusiveTask { 34 class RegisterAppTask : public ExclusiveTask {
35 public: 35 public:
36 RegisterAppTask(SyncEngineContext* sync_context, const std::string& app_id); 36 RegisterAppTask(SyncEngineContext* sync_context, const std::string& app_id);
37 virtual ~RegisterAppTask(); 37 virtual ~RegisterAppTask();
38 38
39 bool CanFinishImmediately(); 39 bool CanFinishImmediately();
40 virtual void RunExclusive(const SyncStatusCallback& callback) OVERRIDE; 40 virtual void RunExclusive(const SyncStatusCallback& callback) override;
41 41
42 private: 42 private:
43 void CreateAppRootFolder(const SyncStatusCallback& callback); 43 void CreateAppRootFolder(const SyncStatusCallback& callback);
44 void DidCreateAppRootFolder(const SyncStatusCallback& callback, 44 void DidCreateAppRootFolder(const SyncStatusCallback& callback,
45 const std::string& file_id, 45 const std::string& file_id,
46 SyncStatusCode status); 46 SyncStatusCode status);
47 bool FilterCandidates(const TrackerIDSet& trackers, 47 bool FilterCandidates(const TrackerIDSet& trackers,
48 FileTracker* candidate); 48 FileTracker* candidate);
49 void RegisterAppIntoDatabase(const FileTracker& tracker, 49 void RegisterAppIntoDatabase(const FileTracker& tracker,
50 const SyncStatusCallback& callback); 50 const SyncStatusCallback& callback);
(...skipping 10 matching lines...) Expand all
61 61
62 base::WeakPtrFactory<RegisterAppTask> weak_ptr_factory_; 62 base::WeakPtrFactory<RegisterAppTask> weak_ptr_factory_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(RegisterAppTask); 64 DISALLOW_COPY_AND_ASSIGN(RegisterAppTask);
65 }; 65 };
66 66
67 } // namespace drive_backend 67 } // namespace drive_backend
68 } // namespace sync_file_system 68 } // namespace sync_file_system
69 69
70 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_REGISTER_APP_TASK_H_ 70 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_REGISTER_APP_TASK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698