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

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/uninstall_app_task.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "chrome/browser/sync_file_system/drive_backend/sync_task.h" 15 #include "chrome/browser/sync_file_system/drive_backend/sync_task.h"
16 #include "chrome/browser/sync_file_system/remote_file_sync_service.h" 16 #include "chrome/browser/sync_file_system/remote_file_sync_service.h"
17 #include "chrome/browser/sync_file_system/sync_callbacks.h" 17 #include "chrome/browser/sync_file_system/sync_callbacks.h"
18 #include "google_apis/drive/drive_api_error_codes.h" 18 #include "google_apis/drive/drive_api_error_codes.h"
19 19
20 namespace drive { 20 namespace drive {
21 class DriveServiceInterface; 21 class DriveServiceInterface;
22 } 22 }
23 23
24 namespace sync_file_system { 24 namespace sync_file_system {
25 namespace drive_backend { 25 namespace drive_backend {
26 26
27 class FileTracker;
28 class MetadataDatabase; 27 class MetadataDatabase;
29 class SyncEngineContext; 28 class SyncEngineContext;
30 class TrackerSet;
31 29
32 class UninstallAppTask : public ExclusiveTask { 30 class UninstallAppTask : public ExclusiveTask {
33 public: 31 public:
34 typedef RemoteFileSyncService::UninstallFlag UninstallFlag; 32 typedef RemoteFileSyncService::UninstallFlag UninstallFlag;
35 UninstallAppTask(SyncEngineContext* sync_context, 33 UninstallAppTask(SyncEngineContext* sync_context,
36 const std::string& app_id, 34 const std::string& app_id,
37 UninstallFlag uninstall_flag); 35 UninstallFlag uninstall_flag);
38 ~UninstallAppTask() override; 36 ~UninstallAppTask() override;
39 37
40 void RunExclusive(const SyncStatusCallback& callback) override; 38 void RunExclusive(const SyncStatusCallback& callback) override;
(...skipping 15 matching lines...) Expand all
56 54
57 base::WeakPtrFactory<UninstallAppTask> weak_ptr_factory_; 55 base::WeakPtrFactory<UninstallAppTask> weak_ptr_factory_;
58 56
59 DISALLOW_COPY_AND_ASSIGN(UninstallAppTask); 57 DISALLOW_COPY_AND_ASSIGN(UninstallAppTask);
60 }; 58 };
61 59
62 } // namespace drive_backend 60 } // namespace drive_backend
63 } // namespace sync_file_system 61 } // namespace sync_file_system
64 62
65 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_UNINSTALL_APP_TASK_H_ 63 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_UNINSTALL_APP_TASK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698