diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-04 18:18:06 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-04 18:18:06 +0000 |
commit | 2859946f1975cf973c5fd55e7322db57dfa0c16a (patch) | |
tree | 83451dbb62c6cd2b9e4ae660ab4bd851b442e35f /chrome/browser/sync/glue/extension_util.h | |
parent | 45082d173d8cdf0d62f739cac6e1933e9e96993e (diff) | |
download | chromium_src-2859946f1975cf973c5fd55e7322db57dfa0c16a.zip chromium_src-2859946f1975cf973c5fd55e7322db57dfa0c16a.tar.gz chromium_src-2859946f1975cf973c5fd55e7322db57dfa0c16a.tar.bz2 |
Generalize ExtensionUpdateService to ExtensionServiceInterface
Add some methods to it that are used by sync. This enables mocks
to be used by extension/theme/app sync unit tests.
BUG=
TEST=
Review URL: http://codereview.chromium.org/6670139
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80342 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/glue/extension_util.h')
-rw-r--r-- | chrome/browser/sync/glue/extension_util.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/sync/glue/extension_util.h b/chrome/browser/sync/glue/extension_util.h index e908650..a68a066 100644 --- a/chrome/browser/sync/glue/extension_util.h +++ b/chrome/browser/sync/glue/extension_util.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// 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. @@ -13,7 +13,7 @@ class Extension; class ExtensionPrefs; -class ExtensionService; +class ExtensionServiceInterface; struct UninstalledExtensionInfo; namespace sync_pb { @@ -101,7 +101,7 @@ bool IsExtensionOutdated(const Extension& extension, // valid. void SetExtensionProperties( const sync_pb::ExtensionSpecifics& specifics, - ExtensionService* extensions_service, const Extension* extension); + ExtensionServiceInterface* extensions_service, const Extension* extension); // Merge |specifics| into |merged_specifics|. Both must be valid and // have the same ID. The merge policy is currently to copy the |