Switch "GCM enabled" from tri-state to Boolean
commit085f86b3d6dbf78e9b95e4e28322b9dc98d292d7
authorbartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 28 May 2014 16:09:58 +0000 (28 16:09 +0000)
committerbartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 28 May 2014 16:09:58 +0000 (28 16:09 +0000)
tree315b5c805e53d5f47596b158e98a9b71d27d0c88
parentc96804552d4ac539f40d8bed193bdafa588d743d
Switch "GCM enabled" from tri-state to Boolean

It used to be that GCM could:
1) start automatically
2) start on demand
3) be disabled completely

Options (2) and (3) still exist but (1) is no longer applicable as GCM now
always starts up automatically and shuts down automatically, depending on
whether any apps are registered with it. Thus, the "GCM enabled" state
can be simplified to GCM enabled (starting on demand) / GCM disabled.

BUG=376746
TEST=Manual

Review URL: https://codereview.chromium.org/291333011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273259 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/extensions/api/gcm/gcm_api.cc
chrome/browser/invalidation/ticl_profile_settings_provider.cc
chrome/browser/resources/gcm_internals.html
chrome/browser/resources/gcm_internals.js
chrome/browser/services/gcm/gcm_profile_service.cc
chrome/browser/services/gcm/gcm_profile_service.h
chrome/browser/sync/profile_sync_service.cc
chrome/browser/ui/webui/gcm_internals_ui.cc