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

Unified Diff: sync/util/unrecoverable_error_info.h

Issue 10534080: sync: move internal_api components used by chrome/browser into internal_api/public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: init Created 8 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 side-by-side diff with in-line comments
Download patch
Index: sync/util/unrecoverable_error_info.h
diff --git a/sync/util/unrecoverable_error_info.h b/sync/util/unrecoverable_error_info.h
deleted file mode 100644
index 64b780a56697156625d42f13b0440b73682826c4..0000000000000000000000000000000000000000
--- a/sync/util/unrecoverable_error_info.h
+++ /dev/null
@@ -1,41 +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_UTIL_UNRECOVERABLE_ERROR_INFO_H_
-#define SYNC_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.
-#pragma once
-
-#include <string>
-
-#include "base/location.h"
-
-namespace browser_sync {
-
-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 browser_sync
-
-#endif // SYNC_UTIL_UNRECOVERABLE_ERROR_INFO_H_

Powered by Google App Engine
This is Rietveld 408576698