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

Unified Diff: components/sync/driver/about_sync_util.cc

Issue 2872023002: [Sync] Add a simple UI to sync-internals to create UserEvents. (Closed)
Patch Set: Rebase 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
« no previous file with comments | « components/sync/driver/about_sync_util.h ('k') | components/sync/driver/resources/chrome_sync.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/about_sync_util.cc
diff --git a/components/sync/driver/about_sync_util.cc b/components/sync/driver/about_sync_util.cc
index ad7ce999e70a0c06d1ca60b83d86fae7e946ff64..054ef74dabe50184c1434be3230c91642647b385 100644
--- a/components/sync/driver/about_sync_util.cc
+++ b/components/sync/driver/about_sync_util.cc
@@ -42,6 +42,7 @@ const char kSyncLogJS[] = "sync_log.js";
const char kSyncNodeBrowserJS[] = "sync_node_browser.js";
const char kSyncSearchJS[] = "sync_search.js";
const char kTypesJS[] = "types.js";
+const char kUserEventsJS[] = "user_events.js";
// Message handlers.
const char kDispatchEvent[] = "chrome.sync.dispatchEvent";
@@ -51,6 +52,10 @@ const char kRegisterForEvents[] = "registerForEvents";
const char kRegisterForPerTypeCounters[] = "registerForPerTypeCounters";
const char kRequestListOfTypes[] = "requestListOfTypes";
const char kRequestUpdatedAboutInfo[] = "requestUpdatedAboutInfo";
+const char kRequestUserEventsVisibility[] = "requestUserEventsVisibility";
+const char kUserEventsVisibilityCallback[] =
+ "chrome.sync.userEventsVisibilityCallback";
+const char kWriteUserEvent[] = "writeUserEvent";
// Other strings.
const char kCommit[] = "commit";
« no previous file with comments | « components/sync/driver/about_sync_util.h ('k') | components/sync/driver/resources/chrome_sync.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698