1// Copyright (c) 2006-2010 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
14namespace sync_pb {
15class EntitySpecifics;
16}
17
18namespace browser_sync {
19
20// Clears server data associated with this user's account
21class ClearDataCommand : public SyncerCommand {
22 public:
23  ClearDataCommand();
24  virtual ~ClearDataCommand();
25
26  // SyncerCommand implementation.
27  virtual void ExecuteImpl(sessions::SyncSession* session);
28
29 private:
30  DISALLOW_COPY_AND_ASSIGN(ClearDataCommand);
31};
32
33}  // namespace browser_sync
34
35#endif  // CHROME_BROWSER_SYNC_ENGINE_CLEAR_DATA_COMMAND_H_
36
37