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

Unified Diff: chrome/browser/metrics/metrics_service.h

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
« no previous file with comments | « chrome/browser/memory_purger.cc ('k') | chrome/browser/metrics/metrics_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/metrics_service.h
===================================================================
--- chrome/browser/metrics/metrics_service.h (revision 91968)
+++ chrome/browser/metrics/metrics_service.h (working copy)
@@ -98,7 +98,7 @@
NotificationObserver* observer);
// Implementation of NotificationObserver
- virtual void Observe(NotificationType type,
+ virtual void Observe(int type,
const NotificationSource& source,
const NotificationDetails& details);
@@ -266,7 +266,7 @@
void LogBadResponseCode();
// Records a window-related notification.
- void LogWindowChange(NotificationType type,
+ void LogWindowChange(int type,
const NotificationSource& source,
const NotificationDetails& details);
@@ -302,7 +302,7 @@
// Records a child process related notification. These are recorded to an
// in-object buffer because these notifications are sent on page load, and we
// don't want to slow that down.
- void LogChildProcessChange(NotificationType type,
+ void LogChildProcessChange(int type,
const NotificationSource& source,
const NotificationDetails& details);
@@ -322,12 +322,12 @@
void LogLoadStarted();
// Records a page load notification.
- void LogLoadComplete(NotificationType type,
+ void LogLoadComplete(int type,
const NotificationSource& source,
const NotificationDetails& details);
// Checks whether a notification can be logged.
- bool CanLogNotification(NotificationType type,
+ bool CanLogNotification(int type,
const NotificationSource& source,
const NotificationDetails& details);
« no previous file with comments | « chrome/browser/memory_purger.cc ('k') | chrome/browser/metrics/metrics_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698