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

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

Issue 148403007: Protect AppListItemList Add/Remove and fix sync bugs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 11 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_app_list_helper.h
diff --git a/chrome/browser/sync/test/integration/sync_app_list_helper.h b/chrome/browser/sync/test/integration/sync_app_list_helper.h
index 91d873409e70fe4d6e6eb22fdd0e9feef73a2353..173716c0f6df19db17aa9dfd49b74e7739cea440 100644
--- a/chrome/browser/sync/test/integration/sync_app_list_helper.h
+++ b/chrome/browser/sync/test/integration/sync_app_list_helper.h
@@ -14,6 +14,10 @@
class Profile;
class SyncTest;
+namespace app_list {
+class AppListItem;
+}
+
class SyncAppListHelper {
public:
// Singleton implementation.
@@ -46,6 +50,11 @@ class SyncAppListHelper {
// and the app list entries all have the same state.
bool AppListMatchesVerifier(Profile* profile);
+ // Helper function for debugging, logs info for an item.
+ void PrintItem(Profile* profile,
+ app_list::AppListItem* item,
+ const std::string& label);
+
SyncTest* test_;
bool setup_completed_;

Powered by Google App Engine
This is Rietveld 408576698