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

Unified Diff: chrome/browser/sync/test/live_sync/extensions_helper.h

Issue 7841007: Rename browser/sync/test/live_sync directory to browser/sync/test/integration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 9 years, 3 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/sync/test/live_sync/extensions_helper.h
diff --git a/chrome/browser/sync/test/live_sync/extensions_helper.h b/chrome/browser/sync/test/live_sync/extensions_helper.h
deleted file mode 100644
index 7103bca292238069c033f4bf55ce70e98202ad68..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/test/live_sync/extensions_helper.h
+++ /dev/null
@@ -1,73 +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_TEST_LIVE_SYNC_EXTENSIONS_HELPER_H_
-#define CHROME_BROWSER_SYNC_TEST_LIVE_SYNC_EXTENSIONS_HELPER_H_
-#pragma once
-
-#include <string>
-#include <vector>
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "chrome/browser/sync/test/live_sync/live_sync_test.h"
-
-class Profile;
-
-namespace extensions_helper {
-
-// Returns true iff the profile with index |index| has the same extensions
-// as the verifier.
-bool HasSameExtensionsAsVerifier(int index) WARN_UNUSED_RESULT;
-
-// Returns true iff all existing profiles have the same extensions
-// as the verifier.
-bool AllProfilesHaveSameExtensionsAsVerifier() WARN_UNUSED_RESULT;
-
-// Returns true iff all existing profiles have the same extensions.
-bool AllProfilesHaveSameExtensions() WARN_UNUSED_RESULT;
-
-// Installs the extension for the given index to |profile|.
-void InstallExtension(Profile* profile, int index);
-
-// Uninstalls the extension for the given index from |profile|. Assumes that
-// it was previously installed.
-void UninstallExtension(Profile* profile, int index);
-
-// Returns a vector containing the indices of all currently installed
-// test extensions on |profile|.
-std::vector<int> GetInstalledExtensions(Profile* profile);
-
-// Installs all pending synced extensions for |profile|.
-void InstallExtensionsPendingForSync(Profile* profile);
-
-// Enables the extension for the given index on |profile|.
-void EnableExtension(Profile* profile, int index);
-
-// Disables the extension for the given index on |profile|.
-void DisableExtension(Profile* profile, int index);
-
-// Returns true if the extension with index |index| is enabled on |profile|.
-bool IsExtensionEnabled(Profile* profile, int index);
-
-// Enables the extension for the given index in incognito mode on |profile|.
-void IncognitoEnableExtension(Profile* profile, int index);
-
-// Disables the extension for the given index in incognito mode on |profile|.
-void IncognitoDisableExtension(Profile* profile, int index);
-
-// Returns true if the extension with index |index| is enabled in incognito
-// mode on |profile|.
-bool IsIncognitoEnabled(Profile* profile, int index);
-
-// Returns a unique extension name based in the integer |index|.
-std::string CreateFakeExtensionName(int index);
-
-// Converts a fake extension name back into the index used to generate it.
-// Returns true if successful, false on failure.
-bool ExtensionNameToIndex(const std::string& name, int* index);
-
-} // namespace extensions_helper
-
-#endif // CHROME_BROWSER_SYNC_TEST_LIVE_SYNC_EXTENSIONS_HELPER_H_
« no previous file with comments | « chrome/browser/sync/test/live_sync/bookmarks_helper.cc ('k') | chrome/browser/sync/test/live_sync/extensions_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698