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

Unified Diff: components/sync/base/unrecoverable_error_info.cc

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, 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/base/unrecoverable_error_info.h ('k') | components/sync/base/weak_handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/base/unrecoverable_error_info.cc
diff --git a/sync/internal_api/public/util/unrecoverable_error_info.cc b/components/sync/base/unrecoverable_error_info.cc
similarity index 62%
rename from sync/internal_api/public/util/unrecoverable_error_info.cc
rename to components/sync/base/unrecoverable_error_info.cc
index 2234650330130f1343d963552ea780aadef074e9..aa19dde5d3f692632d13ef2b4d96ad8a1c2c7b97 100644
--- a/sync/internal_api/public/util/unrecoverable_error_info.cc
+++ b/components/sync/base/unrecoverable_error_info.cc
@@ -2,28 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "sync/internal_api/public/util/unrecoverable_error_info.h"
+#include "components/sync/base/unrecoverable_error_info.h"
namespace syncer {
-UnrecoverableErrorInfo::UnrecoverableErrorInfo()
- : is_set_(false) {
-}
+UnrecoverableErrorInfo::UnrecoverableErrorInfo() : is_set_(false) {}
UnrecoverableErrorInfo::UnrecoverableErrorInfo(
const tracked_objects::Location& location,
const std::string& message)
- : location_(location),
- message_(message),
- is_set_(true) {
-}
+ : location_(location), message_(message), is_set_(true) {}
-UnrecoverableErrorInfo::~UnrecoverableErrorInfo() {
-}
+UnrecoverableErrorInfo::~UnrecoverableErrorInfo() {}
-void UnrecoverableErrorInfo::Reset(
- const tracked_objects::Location& location,
- const std::string& message) {
+void UnrecoverableErrorInfo::Reset(const tracked_objects::Location& location,
+ const std::string& message) {
location_ = location;
message_ = message;
is_set_ = true;
« no previous file with comments | « components/sync/base/unrecoverable_error_info.h ('k') | components/sync/base/weak_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698