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

Unified Diff: chrome/browser/extensions/extension_sync_data.h

Issue 10662035: [Sync] Put everything in sync/api into csync namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comments 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: chrome/browser/extensions/extension_sync_data.h
diff --git a/chrome/browser/extensions/extension_sync_data.h b/chrome/browser/extensions/extension_sync_data.h
index ef3a92bc647811a87976794cad11cdf577c113b3..bbd3cddd6486bad80b0ae7668bc6ad382ae0f337 100644
--- a/chrome/browser/extensions/extension_sync_data.h
+++ b/chrome/browser/extensions/extension_sync_data.h
@@ -13,7 +13,9 @@
#include "googleurl/src/gurl.h"
#include "sync/api/sync_change.h"
+namespace csync {
class SyncData;
+}
namespace sync_pb {
class ExtensionSpecifics;
@@ -27,16 +29,17 @@ class Extension;
class ExtensionSyncData {
public:
ExtensionSyncData();
- explicit ExtensionSyncData(const SyncData& sync_data);
- explicit ExtensionSyncData(const SyncChange& sync_change);
+ explicit ExtensionSyncData(const csync::SyncData& sync_data);
+ explicit ExtensionSyncData(const csync::SyncChange& sync_change);
ExtensionSyncData(const Extension& extension,
bool enabled,
bool incognito_enabled);
~ExtensionSyncData();
// Retrieve sync data from this class.
- SyncData GetSyncData() const;
- SyncChange GetSyncChange(SyncChange::SyncChangeType change_type) const;
+ csync::SyncData GetSyncData() const;
+ csync::SyncChange GetSyncChange(
+ csync::SyncChange::SyncChangeType change_type) const;
// Convert an ExtensionSyncData back out to a sync structure.
void PopulateExtensionSpecifics(sync_pb::ExtensionSpecifics* specifics) const;
@@ -65,7 +68,7 @@ class ExtensionSyncData {
private:
// Populate this class from sync inputs.
- void PopulateFromSyncData(const SyncData& sync_data);
+ void PopulateFromSyncData(const csync::SyncData& sync_data);
std::string id_;
bool uninstalled_;
« no previous file with comments | « chrome/browser/extensions/extension_sync_bundle.cc ('k') | chrome/browser/extensions/extension_sync_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698