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

Unified Diff: sync/internal_api/public/util/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
Index: sync/internal_api/public/util/unrecoverable_error_info.cc
diff --git a/sync/internal_api/public/util/unrecoverable_error_info.cc b/sync/internal_api/public/util/unrecoverable_error_info.cc
deleted file mode 100644
index 2234650330130f1343d963552ea780aadef074e9..0000000000000000000000000000000000000000
--- a/sync/internal_api/public/util/unrecoverable_error_info.cc
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// 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"
-
-namespace syncer {
-
-UnrecoverableErrorInfo::UnrecoverableErrorInfo()
- : is_set_(false) {
-}
-
-UnrecoverableErrorInfo::UnrecoverableErrorInfo(
- const tracked_objects::Location& location,
- const std::string& message)
- : location_(location),
- message_(message),
- is_set_(true) {
-}
-
-UnrecoverableErrorInfo::~UnrecoverableErrorInfo() {
-}
-
-void UnrecoverableErrorInfo::Reset(
- const tracked_objects::Location& location,
- const std::string& message) {
- location_ = location;
- message_ = message;
- is_set_ = true;
-}
-
-bool UnrecoverableErrorInfo::IsSet() const {
- return is_set_;
-}
-
-const tracked_objects::Location& UnrecoverableErrorInfo::location() const {
- return location_;
-}
-
-const std::string& UnrecoverableErrorInfo::message() const {
- return message_;
-}
-
-} // namespace syncer
« no previous file with comments | « sync/internal_api/public/util/unrecoverable_error_info.h ('k') | sync/internal_api/public/util/weak_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698