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

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

Issue 17034006: Add base namespace to more values in sync and elsewhere. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/proto_value_conversions_unittest.cc ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 SYNC_PROTOCOL_SYNC_PROTOCOL_ERROR_H_ 4 #ifndef SYNC_PROTOCOL_SYNC_PROTOCOL_ERROR_H_
5 #define SYNC_PROTOCOL_SYNC_PROTOCOL_ERROR_H_ 5 #define SYNC_PROTOCOL_SYNC_PROTOCOL_ERROR_H_
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "sync/base/sync_export.h" 10 #include "sync/base/sync_export.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 }; 71 };
72 72
73 struct SYNC_EXPORT SyncProtocolError { 73 struct SYNC_EXPORT SyncProtocolError {
74 SyncProtocolErrorType error_type; 74 SyncProtocolErrorType error_type;
75 std::string error_description; 75 std::string error_description;
76 std::string url; 76 std::string url;
77 ClientAction action; 77 ClientAction action;
78 ModelTypeSet error_data_types; 78 ModelTypeSet error_data_types;
79 SyncProtocolError(); 79 SyncProtocolError();
80 ~SyncProtocolError(); 80 ~SyncProtocolError();
81 DictionaryValue* ToValue() const; 81 base::DictionaryValue* ToValue() const;
82 }; 82 };
83 83
84 SYNC_EXPORT const char* GetSyncErrorTypeString(SyncProtocolErrorType type); 84 SYNC_EXPORT const char* GetSyncErrorTypeString(SyncProtocolErrorType type);
85 SYNC_EXPORT const char* GetClientActionString(ClientAction action); 85 SYNC_EXPORT const char* GetClientActionString(ClientAction action);
86 } // namespace syncer 86 } // namespace syncer
87 #endif // SYNC_PROTOCOL_SYNC_PROTOCOL_ERROR_H_ 87 #endif // SYNC_PROTOCOL_SYNC_PROTOCOL_ERROR_H_
88 88
OLDNEW
« no previous file with comments | « sync/protocol/proto_value_conversions_unittest.cc ('k') | sync/protocol/sync_protocol_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698