Expose Chrome sign in actions through experimental APIs
For project mirror, we need to trigger Chrome actions from the content area, specifically we need to trigger Chrome Sign Out and to show avatar bubble. For details, please see the sections "sigh out" and "manage accounts" in the doc https://docs.google.com/a/google.com/document/d/1bVHuWnxjZZrtcwVEJxJEOuD3nZpfvyHxrAQI3mhXZ7U/edit#.
This CL implements two experimental APIs for this purpose. The APIs are for prototype only, enabled for component apps and one whitelisted ext under a flag "new-profile-management".
BUG=298164
Review URL: https://codereview.chromium.org/24584002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225621 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/extensions/extension_function_histogram_value.h b/chrome/browser/extensions/extension_function_histogram_value.h
index 4a3b395d..c727edb4 100644
--- a/chrome/browser/extensions/extension_function_histogram_value.h
+++ b/chrome/browser/extensions/extension_function_histogram_value.h
@@ -641,6 +641,8 @@
WEBRTCLOGGINGPRIVATE_UPLOAD,
WEBRTCLOGGINGPRIVATE_DISCARD,
WEBVIEW_OVERRIDEUSERAGENT,
+ PRINCIPALSPRIVATE_SHOWAVATARBUBBLE,
+ PRINCIPALSPRIVATE_SIGNOUT,
ENUM_BOUNDARY // Last entry: Add new entries above.
};