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

Side by Side Diff: sync/engine/process_commit_response_command.h

Issue 10699044: [Sync] Move sync/{internal_api,syncable} into syncer namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head Created 8 years, 5 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 SYNC_ENGINE_PROCESS_COMMIT_RESPONSE_COMMAND_H_ 5 #ifndef SYNC_ENGINE_PROCESS_COMMIT_RESPONSE_COMMAND_H_
6 #define SYNC_ENGINE_PROCESS_COMMIT_RESPONSE_COMMAND_H_ 6 #define SYNC_ENGINE_PROCESS_COMMIT_RESPONSE_COMMAND_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "sync/engine/model_changing_syncer_command.h" 14 #include "sync/engine/model_changing_syncer_command.h"
15 #include "sync/engine/syncproto.h" 15 #include "sync/engine/syncproto.h"
16 16
17 namespace syncer {
18
19 namespace sessions {
20 class OrderedCommitSet;
21 }
22
17 namespace syncable { 23 namespace syncable {
18 class Id; 24 class Id;
19 class WriteTransaction; 25 class WriteTransaction;
20 class MutableEntry; 26 class MutableEntry;
21 class Directory; 27 class Directory;
22 } 28 }
23 29
24 namespace syncer {
25
26 namespace sessions {
27 class OrderedCommitSet;
28 }
29
30 // A class that processes the server's response to our commmit attempt. Note 30 // A class that processes the server's response to our commmit attempt. Note
31 // that some of the preliminary processing is performed in 31 // that some of the preliminary processing is performed in
32 // PostClientToServerMessage command. 32 // PostClientToServerMessage command.
33 // 33 //
34 // As part of processing the commit response, this command will modify sync 34 // As part of processing the commit response, this command will modify sync
35 // entries. It can rename items, update their versions, etc. 35 // entries. It can rename items, update their versions, etc.
36 // 36 //
37 // This command will return a non-SYNCER_OK value if an error occurred while 37 // This command will return a non-SYNCER_OK value if an error occurred while
38 // processing the response, or if the server's response indicates that it had 38 // processing the response, or if the server's response indicates that it had
39 // trouble processing the request. 39 // trouble processing the request.
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 const sessions::OrderedCommitSet& commit_set_; 127 const sessions::OrderedCommitSet& commit_set_;
128 const ClientToServerMessage& commit_message_; 128 const ClientToServerMessage& commit_message_;
129 const ClientToServerResponse& commit_response_; 129 const ClientToServerResponse& commit_response_;
130 130
131 DISALLOW_COPY_AND_ASSIGN(ProcessCommitResponseCommand); 131 DISALLOW_COPY_AND_ASSIGN(ProcessCommitResponseCommand);
132 }; 132 };
133 133
134 } // namespace syncer 134 } // namespace syncer
135 135
136 #endif // SYNC_ENGINE_PROCESS_COMMIT_RESPONSE_COMMAND_H_ 136 #endif // SYNC_ENGINE_PROCESS_COMMIT_RESPONSE_COMMAND_H_
OLDNEW
« no previous file with comments | « sync/engine/net/server_connection_manager.h ('k') | sync/engine/process_commit_response_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698