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

Unified Diff: chrome/test/live_sync/live_themes_sync_test.h

Issue 4732005: [Sync] Added some basic extension sync integration tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed rsimha's comments Created 10 years, 1 month 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/test/live_sync/live_themes_sync_test.h
diff --git a/chrome/test/live_sync/live_themes_sync_test.h b/chrome/test/live_sync/live_themes_sync_test.h
index e4f907140a7536d32396e8e8757d8f7b80ff0a90..c98e3e4efd6f69b1c9039030fd82f6d11982ca3c 100644
--- a/chrome/test/live_sync/live_themes_sync_test.h
+++ b/chrome/test/live_sync/live_themes_sync_test.h
@@ -12,25 +12,17 @@
#include "base/compiler_specific.h"
#include "base/scoped_temp_dir.h"
#include "base/ref_counted.h"
-#include "chrome/test/live_sync/live_sync_test.h"
+#include "chrome/test/live_sync/live_extensions_sync_test_base.h"
class Extension;
class Profile;
-class LiveThemesSyncTest : public LiveSyncTest {
+class LiveThemesSyncTest : public LiveExtensionsSyncTestBase {
public:
explicit LiveThemesSyncTest(TestType test_type);
virtual ~LiveThemesSyncTest();
- // Like LiveSyncTest::SetupClients(), but also initializes
- // extensions for each profile and also creates n themes (n =
- // num_clients()).
- virtual bool SetupClients() WARN_UNUSED_RESULT;
-
protected:
- // Get the index'th theme created by SetupClients().
- scoped_refptr<Extension> GetTheme(int index) WARN_UNUSED_RESULT;
-
// Set the theme of the given profile to a custom theme from the
// given theme extension.
static void SetTheme(Profile* profile, scoped_refptr<Extension> theme);
@@ -58,9 +50,6 @@ class LiveThemesSyncTest : public LiveSyncTest {
const Extension* theme) WARN_UNUSED_RESULT;
private:
- ScopedTempDir theme_dir_;
- std::vector<scoped_refptr<Extension> > themes_;
-
DISALLOW_COPY_AND_ASSIGN(LiveThemesSyncTest);
};
« no previous file with comments | « chrome/test/live_sync/live_extensions_sync_test_base.cc ('k') | chrome/test/live_sync/live_themes_sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698