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

Unified Diff: sync/internal_api/public/util/unrecoverable_error_info.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, 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.h
diff --git a/sync/internal_api/public/util/unrecoverable_error_info.h b/sync/internal_api/public/util/unrecoverable_error_info.h
deleted file mode 100644
index 4eb12c958865f8963646393da360804cf0df90bd..0000000000000000000000000000000000000000
--- a/sync/internal_api/public/util/unrecoverable_error_info.h
+++ /dev/null
@@ -1,40 +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.
-
-#ifndef SYNC_INTERNAL_API_PUBLIC_UTIL_UNRECOVERABLE_ERROR_INFO_H_
-#define SYNC_INTERNAL_API_PUBLIC_UTIL_UNRECOVERABLE_ERROR_INFO_H_
-// TODO(lipalani): Figure out the right location for this class so it is
-// accessible outside of sync engine as well.
-
-#include <string>
-
-#include "base/location.h"
-
-namespace syncer {
-
-class UnrecoverableErrorInfo {
- public:
- UnrecoverableErrorInfo();
- UnrecoverableErrorInfo(
- const tracked_objects::Location& location,
- const std::string& message);
- ~UnrecoverableErrorInfo();
-
- void Reset(const tracked_objects::Location& location,
- const std::string& message);
-
- bool IsSet() const;
-
- const tracked_objects::Location& location() const;
- const std::string& message() const;
-
- private:
- tracked_objects::Location location_;
- std::string message_;
- bool is_set_;
-};
-
-} // namespace syncer
-
-#endif // SYNC_INTERNAL_API_PUBLIC_UTIL_UNRECOVERABLE_ERROR_INFO_H_
« no previous file with comments | « sync/internal_api/public/util/unrecoverable_error_handler.h ('k') | sync/internal_api/public/util/unrecoverable_error_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698