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

Side by Side Diff: chrome/common/extensions/extension_constants.h

Issue 8528054: Sync Promo: Add more UMA metrics. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more code review changes Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/webui/sync_promo_handler.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 INSTALL_CAUSE_AUTOMATION, 446 INSTALL_CAUSE_AUTOMATION,
447 NUM_INSTALL_CAUSES 447 NUM_INSTALL_CAUSES
448 }; 448 };
449 449
450 enum UnloadedExtensionReason { 450 enum UnloadedExtensionReason {
451 UNLOAD_REASON_DISABLE, // Extension is being disabled. 451 UNLOAD_REASON_DISABLE, // Extension is being disabled.
452 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. 452 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version.
453 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. 453 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled.
454 UNLOAD_REASON_TERMINATE, // Extension has terminated. 454 UNLOAD_REASON_TERMINATE, // Extension has terminated.
455 }; 455 };
456 456 } // extension_misc
457 // User actions on the sync promo (aka "Sign in to Chrome").
458 enum SyncPromoBuckets {
459 SYNC_PROMO_VIEWED,
460 SYNC_PROMO_LEARN_MORE_CLICKED,
461 SYNC_PROMO_ACCOUNT_HELP_CLICKED,
462 SYNC_PROMO_CREATE_ACCOUNT_CLICKED,
463 SYNC_PROMO_SKIP_CLICKED,
464 SYNC_PROMO_SIGN_IN_ATTEMPTED,
465 SYNC_PROMO_SIGNED_IN_SUCCESSFULLY,
466 SYNC_PROMO_ADVANCED_CLICKED,
467 SYNC_PROMO_ENCRYPTION_HELP_CLICKED,
468 SYNC_PROMO_CANCELLED_AFTER_SIGN_IN,
469 SYNC_PROMO_CONFIRMED_AFTER_SIGN_IN,
470 SYNC_PROMO_CLOSED_TAB,
471 SYNC_PROMO_CLOSED_WINDOW,
472 SYNC_PROMO_BUCKET_BOUNDARY,
473 SYNC_PROMO_FIRST_VALID_JS_ACTION = SYNC_PROMO_LEARN_MORE_CLICKED,
474 SYNC_PROMO_LAST_VALID_JS_ACTION = SYNC_PROMO_CONFIRMED_AFTER_SIGN_IN,
475 };
476 } // extension_misc
477 457
478 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 458 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/sync_promo_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698