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 SYNC_ENGINE_GET_KEY_COMMAND_H_ |
| 6 #define SYNC_ENGINE_GET_KEY_COMMAND_H_ |
| 7 |
| 8 #include "base/compiler_specific.h" |
| 9 #include "sync/engine/syncer_command.h" |
| 10 |
| 11 namespace syncer { |
| 12 |
| 13 // Sends the GetKey message to the sync server. |
| 14 class GetKeyCommand : public SyncerCommand { |
| 15 public: |
| 16 explicit GetKeyCommand(); |
| 17 virtual ~GetKeyCommand(); |
| 18 |
| 19 // SyncerCommand implementation. |
| 20 virtual SyncerError ExecuteImpl(sessions::SyncSession* session) OVERRIDE; |
| 21 |
| 22 private: |
| 23 DISALLOW_COPY_AND_ASSIGN(GetKeyCommand); |
| 24 }; |
| 25 |
| 26 } // namespace syncer |
| 27 |
| 28 #endif // SYNC_ENGINE_GET_KEY_COMMAND_H_ |
OLD | NEW |