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

Unified Diff: chrome/browser/sync/glue/extension_util.h

Issue 7564037: Apps/Extensions Sync refactoring -- delete most of the old glue, implement new sync API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Release build warning :-/ Created 9 years, 4 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 | « chrome/browser/sync/glue/extension_sync_traits.cc ('k') | chrome/browser/sync/glue/extension_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/extension_util.h
diff --git a/chrome/browser/sync/glue/extension_util.h b/chrome/browser/sync/glue/extension_util.h
deleted file mode 100644
index e1d0d90a0a40343c21a286ba8b36ca3974f873c3..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/glue/extension_util.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (c) 2011 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 CHROME_BROWSER_SYNC_GLUE_EXTENSION_UTIL_H_
-#define CHROME_BROWSER_SYNC_GLUE_EXTENSION_UTIL_H_
-#pragma once
-
-// This file contains some low-level utility functions used by
-// extensions sync.
-
-#include <string>
-
-class Extension;
-struct ExtensionSyncData;
-
-namespace sync_pb {
-class ExtensionSpecifics;
-} // sync_pb
-
-namespace browser_sync {
-
-// Returns whether or not the given extension is one we want to sync.
-bool IsExtensionValid(const Extension& extension);
-
-// Stringifies the given ExtensionSpecifics.
-std::string ExtensionSpecificsToString(
- const sync_pb::ExtensionSpecifics& specifics);
-
-// Fills |sync_data| with the data from |specifics|. Returns true iff
-// succesful.
-bool SpecificsToSyncData(
- const sync_pb::ExtensionSpecifics& specifics,
- ExtensionSyncData* sync_data);
-
-// Fills |specifics| with the data from |sync_data|.
-void SyncDataToSpecifics(
- const ExtensionSyncData& sync_data,
- sync_pb::ExtensionSpecifics* specifics);
-
-} // namespace browser_sync
-
-#endif // CHROME_BROWSER_SYNC_GLUE_EXTENSION_UTIL_H_
« no previous file with comments | « chrome/browser/sync/glue/extension_sync_traits.cc ('k') | chrome/browser/sync/glue/extension_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698