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

Unified Diff: chrome/browser/sync/test/integration/sync_integration_test_util.h

Issue 2799003002: Unpack theme data from extensions off of UI thread. (Closed)
Patch Set: fix gtk case Created 3 years, 7 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/integration/sync_integration_test_util.h
diff --git a/chrome/browser/sync/test/integration/sync_integration_test_util.h b/chrome/browser/sync/test/integration/sync_integration_test_util.h
index c3af2d76cbceb07419832d9dc463e25eb6e2e4b1..63df4c976f76ffbbf2f508105d7f99eb4ff06c6a 100644
--- a/chrome/browser/sync/test/integration/sync_integration_test_util.h
+++ b/chrome/browser/sync/test/integration/sync_integration_test_util.h
@@ -11,10 +11,15 @@
#include "chrome/browser/sync/test/integration/single_client_status_change_checker.h"
#include "components/sync/base/model_type.h"
+class Profile;
+
namespace browser_sync {
class ProfileSyncService;
} // namespace browser_sync
+// Sets a custom theme and wait until the asynchronous process is done.
+void SetCustomTheme(Profile* profile, int theme_index = 0);
+
// Checker to block until the server has a given number of entities.
class ServerCountMatchStatusChecker
: public fake_server::FakeServerMatchStatusChecker {

Powered by Google App Engine
This is Rietveld 408576698