OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_SYNC_ENGINE_CLEAR_DATA_COMMAND_H_ | |
6 #define CHROME_BROWSER_SYNC_ENGINE_CLEAR_DATA_COMMAND_H_ | |
7 #pragma once | |
8 | |
9 #include "base/basictypes.h" | |
10 #include "chrome/browser/sync/engine/model_safe_worker.h" | |
11 #include "chrome/browser/sync/engine/syncer_command.h" | |
12 #include "chrome/browser/sync/syncable/model_type.h" | |
13 | |
14 namespace browser_sync { | |
15 | |
16 // Clears server data associated with this user's account | |
17 class ClearDataCommand : public SyncerCommand { | |
18 public: | |
19 ClearDataCommand(); | |
20 virtual ~ClearDataCommand(); | |
21 | |
22 // SyncerCommand implementation. | |
23 virtual SyncerError ExecuteImpl(sessions::SyncSession* session) OVERRIDE; | |
24 | |
25 private: | |
26 DISALLOW_COPY_AND_ASSIGN(ClearDataCommand); | |
27 }; | |
28 | |
29 } // namespace browser_sync | |
30 | |
31 #endif // CHROME_BROWSER_SYNC_ENGINE_CLEAR_DATA_COMMAND_H_ | |
OLD | NEW |