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

Unified Diff: chrome/browser/extensions/extension_web_socket_proxy_private_api.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/extensions/extension_web_socket_proxy_private_api.cc
===================================================================
--- chrome/browser/extensions/extension_web_socket_proxy_private_api.cc (revision 91968)
+++ chrome/browser/extensions/extension_web_socket_proxy_private_api.cc (working copy)
@@ -40,7 +40,7 @@
if (!chromeos::WebSocketProxyController::IsInitiated()) {
delay_response = true;
registrar_.Add(
- this, NotificationType::WEB_SOCKET_PROXY_STARTED,
+ this, chrome::WEB_SOCKET_PROXY_STARTED,
NotificationService::AllSources());
chromeos::WebSocketProxyController::Initiate();
}
@@ -67,10 +67,10 @@
}
void WebSocketProxyPrivateGetPassportForTCPFunction::Observe(
- NotificationType type, const NotificationSource& source,
+ int type, const NotificationSource& source,
const NotificationDetails& details) {
#if defined(OS_CHROMEOS)
- DCHECK(type.value == NotificationType::WEB_SOCKET_PROXY_STARTED);
+ DCHECK(type == chrome::WEB_SOCKET_PROXY_STARTED);
#else
NOTREACHED();
#endif

Powered by Google App Engine
This is Rietveld 408576698