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

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/uninstall_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_UNINSTALL_APP_TASK_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_UNINSTALL_APP_TASK_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_UNINSTALL_APP_TASK_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_UNINSTALL_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 21 matching lines...) Expand all
32 class TrackerSet; 32 class TrackerSet;
33 33
34 class UninstallAppTask : public ExclusiveTask { 34 class UninstallAppTask : public ExclusiveTask {
35 public: 35 public:
36 typedef RemoteFileSyncService::UninstallFlag UninstallFlag; 36 typedef RemoteFileSyncService::UninstallFlag UninstallFlag;
37 UninstallAppTask(SyncEngineContext* sync_context, 37 UninstallAppTask(SyncEngineContext* sync_context,
38 const std::string& app_id, 38 const std::string& app_id,
39 UninstallFlag uninstall_flag); 39 UninstallFlag uninstall_flag);
40 virtual ~UninstallAppTask(); 40 virtual ~UninstallAppTask();
41 41
42 virtual void RunExclusive(const SyncStatusCallback& callback) OVERRIDE; 42 virtual void RunExclusive(const SyncStatusCallback& callback) override;
43 43
44 private: 44 private:
45 void DidDeleteAppRoot(const SyncStatusCallback& callback, 45 void DidDeleteAppRoot(const SyncStatusCallback& callback,
46 int64 change_id, 46 int64 change_id,
47 google_apis::GDataErrorCode error); 47 google_apis::GDataErrorCode error);
48 48
49 bool IsContextReady(); 49 bool IsContextReady();
50 MetadataDatabase* metadata_database(); 50 MetadataDatabase* metadata_database();
51 drive::DriveServiceInterface* drive_service(); 51 drive::DriveServiceInterface* drive_service();
52 52
53 SyncEngineContext* sync_context_; // Not owned. 53 SyncEngineContext* sync_context_; // Not owned.
54 54
55 std::string app_id_; 55 std::string app_id_;
56 UninstallFlag uninstall_flag_; 56 UninstallFlag uninstall_flag_;
57 int64 app_root_tracker_id_; 57 int64 app_root_tracker_id_;
58 58
59 base::WeakPtrFactory<UninstallAppTask> weak_ptr_factory_; 59 base::WeakPtrFactory<UninstallAppTask> weak_ptr_factory_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(UninstallAppTask); 61 DISALLOW_COPY_AND_ASSIGN(UninstallAppTask);
62 }; 62 };
63 63
64 } // namespace drive_backend 64 } // namespace drive_backend
65 } // namespace sync_file_system 65 } // namespace sync_file_system
66 66
67 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_UNINSTALL_APP_TASK_H_ 67 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_UNINSTALL_APP_TASK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698