diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-10 00:36:56 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-10 00:36:56 +0000 |
commit | 24e8fd5d90ec644f24e0edb5aab359aeb46a80da (patch) | |
tree | 4477fd4971fd8dc0bd735c0b704457c15e0c2781 /chrome/common | |
parent | 088b3d85fcbd72b1743b767452abc41fa5c01764 (diff) | |
download | chromium_src-24e8fd5d90ec644f24e0edb5aab359aeb46a80da.zip chromium_src-24e8fd5d90ec644f24e0edb5aab359aeb46a80da.tar.gz chromium_src-24e8fd5d90ec644f24e0edb5aab359aeb46a80da.tar.bz2 |
NetworkStateNotifier that sends notification when network stat has changed.
This will be used to implement 3605. I created separate notification as we're planning to port to other platfrom.
BUG=chromium-os:3605
TEST=added browser test
Review URL: http://codereview.chromium.org/2913001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52028 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/notification_type.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/notification_type.h b/chrome/common/notification_type.h index 1e49b97..cd97990 100644 --- a/chrome/common/notification_type.h +++ b/chrome/common/notification_type.h @@ -1037,6 +1037,12 @@ class NotificationType { // is being deleted, so the receiver shouldn't use the screen locker // object. SCREEN_LOCK_STATE_CHANGED, + + // Sent when the network state has changed on UI thread. + // The source is AllSources and the details is NetworkStateDetails defined + // in chrome/browser/chromeos/network_state_notifier.h. + // TODO(oshima): Port this to all platforms. + NETWORK_STATE_CHANGED, #endif // Sent before the repost form warning is brought up. |