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

Unified Diff: chrome/browser/sync/test/live_sync/themes_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/themes_helper.h
diff --git a/chrome/browser/sync/test/live_sync/themes_helper.h b/chrome/browser/sync/test/live_sync/themes_helper.h
deleted file mode 100644
index 6e28d1a1cd39a4c41fcab07c6780a7caa63a7fbe..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/test/live_sync/themes_helper.h
+++ /dev/null
@@ -1,55 +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_THEMES_HELPER_H_
-#define CHROME_BROWSER_SYNC_TEST_LIVE_SYNC_THEMES_HELPER_H_
-#pragma once
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "chrome/browser/sync/test/live_sync/live_sync_test.h"
-
-class Profile;
-
-namespace themes_helper {
-
-// Gets the unique ID of the custom theme with the given index.
-std::string GetCustomTheme(int index) WARN_UNUSED_RESULT;
-
-// Gets the ID of |profile|'s theme.
-std::string GetThemeID(Profile* profile) WARN_UNUSED_RESULT;
-
-// Returns true iff |profile| is using a custom theme.
-bool UsingCustomTheme(Profile* profile) WARN_UNUSED_RESULT;
-
-// Returns true iff |profile| is using the default theme.
-bool UsingDefaultTheme(Profile* profile) WARN_UNUSED_RESULT;
-
-// Returns true iff |profile| is using the native theme.
-bool UsingNativeTheme(Profile* profile) WARN_UNUSED_RESULT;
-
-// Returns true iff a theme with the given ID is pending install in
-// |profile|.
-bool ThemeIsPendingInstall(
- Profile* profile, const std::string& id) WARN_UNUSED_RESULT;
-
-// Returns true iff |profile|'s current theme is the given
-// custom theme or if the given theme is pending install.
-bool HasOrWillHaveCustomTheme(
- Profile* profile, const std::string& id) WARN_UNUSED_RESULT;
-
-// Sets |profile| to use the custom theme with the given index.
-void UseCustomTheme(Profile* profile, int index);
-
-// Sets |profile| to use the default theme.
-void UseDefaultTheme(Profile* profile);
-
-// Sets |profile| to use the native theme.
-void UseNativeTheme(Profile* profile);
-
-} // namespace themes_helper
-
-#endif // CHROME_BROWSER_SYNC_TEST_LIVE_SYNC_THEMES_HELPER_H_
« no previous file with comments | « chrome/browser/sync/test/live_sync/sync_integration_test.py ('k') | chrome/browser/sync/test/live_sync/themes_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698