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

Side by Side Diff: sync/protocol/sync_protocol_error.h

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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
« no previous file with comments | « sync/protocol/service_constants.h ('k') | sync/protocol/sync_protocol_error.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_SYNC_PROTOCOL_SYNC_PROTOCOL_ERROR_H_ 4 #ifndef SYNC_PROTOCOL_SYNC_PROTOCOL_ERROR_H_
5 #define CHROME_BROWSER_SYNC_PROTOCOL_SYNC_PROTOCOL_ERROR_H_ 5 #define SYNC_PROTOCOL_SYNC_PROTOCOL_ERROR_H_
6 #pragma once 6 #pragma once
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/browser/sync/syncable/model_type.h" 11 #include "sync/syncable/model_type.h"
12 12
13 namespace browser_sync{ 13 namespace browser_sync{
14 14
15 enum SyncProtocolErrorType { 15 enum SyncProtocolErrorType {
16 // Success case. 16 // Success case.
17 SYNC_SUCCESS, 17 SYNC_SUCCESS,
18 18
19 // Birthday does not match that of the server. 19 // Birthday does not match that of the server.
20 NOT_MY_BIRTHDAY, 20 NOT_MY_BIRTHDAY,
21 21
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 ClientAction action; 70 ClientAction action;
71 syncable::ModelTypeSet error_data_types; 71 syncable::ModelTypeSet error_data_types;
72 SyncProtocolError(); 72 SyncProtocolError();
73 ~SyncProtocolError(); 73 ~SyncProtocolError();
74 DictionaryValue* ToValue() const; 74 DictionaryValue* ToValue() const;
75 }; 75 };
76 76
77 const char* GetSyncErrorTypeString(SyncProtocolErrorType type); 77 const char* GetSyncErrorTypeString(SyncProtocolErrorType type);
78 const char* GetClientActionString(ClientAction action); 78 const char* GetClientActionString(ClientAction action);
79 } // namespace browser_sync 79 } // namespace browser_sync
80 #endif // CHROME_BROWSER_SYNC_PROTOCOL_SYNC_PROTOCOL_ERROR_H_ 80 #endif // SYNC_PROTOCOL_SYNC_PROTOCOL_ERROR_H_
81 81
OLDNEW
« no previous file with comments | « sync/protocol/service_constants.h ('k') | sync/protocol/sync_protocol_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698