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

Unified Diff: sync/api/sync_error.h

Issue 10795018: [Sync] Remove unneeded 'using syncer::' lines and 'syncer::' scopings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fiix indent Created 8 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 | « sync/api/sync_data.cc ('k') | sync/api/sync_error.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/api/sync_error.h
diff --git a/sync/api/sync_error.h b/sync/api/sync_error.h
index 532b90cba1bf94a52055d60fa27b4e633e62e560..c67499383b5e4d06b5a9ae6d74f907491e2af549 100644
--- a/sync/api/sync_error.h
+++ b/sync/api/sync_error.h
@@ -32,7 +32,7 @@ class SyncError {
// Will print the new error to LOG(ERROR).
SyncError(const tracked_objects::Location& location,
const std::string& message,
- syncer::ModelType type);
+ ModelType type);
// Copy and assign via deep copy.
SyncError(const SyncError& other);
@@ -45,7 +45,7 @@ class SyncError {
// Will print the new error to LOG(ERROR).
void Reset(const tracked_objects::Location& location,
const std::string& message,
- syncer::ModelType type);
+ ModelType type);
// Whether this is a valid error or not.
bool IsSet() const;
@@ -53,7 +53,7 @@ class SyncError {
// These must only be called if IsSet() is true.
const tracked_objects::Location& location() const;
const std::string& message() const;
- syncer::ModelType type() const;
+ ModelType type() const;
// Returns empty string is IsSet() is false.
std::string ToString() const;
@@ -69,7 +69,7 @@ class SyncError {
// is called, IsSet() will return true.
void Init(const tracked_objects::Location& location,
const std::string& message,
- syncer::ModelType type);
+ ModelType type);
// Reset the error to it's default (unset) values.
void Clear();
@@ -77,7 +77,7 @@ class SyncError {
// scoped_ptr is necessary because Location objects aren't assignable.
scoped_ptr<tracked_objects::Location> location_;
std::string message_;
- syncer::ModelType type_;
+ ModelType type_;
};
// gmock printer helper.
« no previous file with comments | « sync/api/sync_data.cc ('k') | sync/api/sync_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698