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

Side by Side Diff: components/sync/api/sync_error.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
« no previous file with comments | « components/sync/api/sync_data_unittest.cc ('k') | components/sync/api/sync_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 4
5 #ifndef SYNC_API_SYNC_ERROR_H_ 5 #ifndef COMPONENTS_SYNC_API_SYNC_ERROR_H_
6 #define SYNC_API_SYNC_ERROR_H_ 6 #define COMPONENTS_SYNC_API_SYNC_ERROR_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "sync/base/sync_export.h" 12 #include "components/sync/base/model_type.h"
13 #include "sync/internal_api/public/base/model_type.h" 13 #include "components/sync/base/sync_export.h"
14 14
15 namespace tracked_objects { 15 namespace tracked_objects {
16 class Location; 16 class Location;
17 } // namespace tracked_objects 17 } // namespace tracked_objects
18 18
19 namespace syncer { 19 namespace syncer {
20 20
21 // Sync errors are used for debug purposes and handled internally and/or 21 // Sync errors are used for debug purposes and handled internally and/or
22 // exposed through Chrome's "about:sync" internal page. 22 // exposed through Chrome's "about:sync" internal page.
23 // This class is copy-friendly and thread-safe. 23 // This class is copy-friendly and thread-safe.
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 std::string message_; 119 std::string message_;
120 ModelType model_type_; 120 ModelType model_type_;
121 ErrorType error_type_; 121 ErrorType error_type_;
122 }; 122 };
123 123
124 // gmock printer helper. 124 // gmock printer helper.
125 SYNC_EXPORT void PrintTo(const SyncError& sync_error, std::ostream* os); 125 SYNC_EXPORT void PrintTo(const SyncError& sync_error, std::ostream* os);
126 126
127 } // namespace syncer 127 } // namespace syncer
128 128
129 #endif // SYNC_API_SYNC_ERROR_H_ 129 #endif // COMPONENTS_SYNC_API_SYNC_ERROR_H_
OLDNEW
« no previous file with comments | « components/sync/api/sync_data_unittest.cc ('k') | components/sync/api/sync_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698