Home | History | Annotate | Download | only in engine
      1 // Copyright (c) 2006-2009 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_BUILD_COMMIT_COMMAND_H_
      6 #define CHROME_BROWSER_SYNC_ENGINE_BUILD_COMMIT_COMMAND_H_
      7 #pragma once
      8 
      9 #include "base/basictypes.h"
     10 #include "chrome/browser/sync/engine/syncer_command.h"
     11 #include "chrome/browser/sync/engine/syncproto.h"
     12 
     13 namespace browser_sync {
     14 
     15 class BuildCommitCommand : public SyncerCommand {
     16  public:
     17   BuildCommitCommand();
     18   virtual ~BuildCommitCommand();
     19 
     20   // SyncerCommand implementation.
     21   virtual void ExecuteImpl(sessions::SyncSession* session);
     22 
     23  private:
     24   void AddExtensionsActivityToMessage(sessions::SyncSession* session,
     25                                       CommitMessage* message);
     26   DISALLOW_COPY_AND_ASSIGN(BuildCommitCommand);
     27 };
     28 
     29 }  // namespace browser_sync
     30 
     31 #endif  // CHROME_BROWSER_SYNC_ENGINE_BUILD_COMMIT_COMMAND_H_
     32