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

Unified Diff: chrome/browser/chromeos/network_state_notifier.cc

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
Index: chrome/browser/chromeos/network_state_notifier.cc
===================================================================
--- chrome/browser/chromeos/network_state_notifier.cc (revision 91971)
+++ chrome/browser/chromeos/network_state_notifier.cc (working copy)
@@ -7,9 +7,10 @@
#include "base/message_loop.h"
#include "base/time.h"
#include "chrome/browser/chromeos/cros/cros_library.h"
+#include "chrome/common/chrome_notification_types.h"
#include "content/browser/browser_thread.h"
+#include "content/common/content_notification_types.h"
#include "content/common/notification_service.h"
-#include "content/common/notification_type.h"
namespace chromeos {
@@ -69,7 +70,7 @@
state_ = new_state;
NetworkStateDetails details(state_);
NotificationService::current()->Notify(
- NotificationType::NETWORK_STATE_CHANGED,
+ chrome::NOTIFICATION_NETWORK_STATE_CHANGED,
NotificationService::AllSources(),
Details<NetworkStateDetails>(&details));
};
« no previous file with comments | « chrome/browser/chromeos/media/media_player.cc ('k') | chrome/browser/chromeos/network_state_notifier_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698