Index: content/browser/user_metrics.cc |
=================================================================== |
--- content/browser/user_metrics.cc (revision 164795) |
+++ content/browser/user_metrics.cc (working copy) |
@@ -9,11 +9,9 @@ |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_types.h" |
+namespace content { |
namespace { |
-using content::BrowserThread; |
-using content::UserMetricsAction; |
- |
// Forward declare because of circular dependency. |
void CallRecordOnUI(const std::string& action); |
@@ -26,10 +24,10 @@ |
return; |
} |
- content::NotificationService::current()->Notify( |
- content::NOTIFICATION_USER_ACTION, |
- content::NotificationService::AllSources(), |
- content::Details<const char*>(&action)); |
+ NotificationService::current()->Notify( |
+ NOTIFICATION_USER_ACTION, |
tfarina
2012/10/30 21:59:50
I bet this fits above now.
|
+ NotificationService::AllSources(), |
+ Details<const char*>(&action)); |
} |
void CallRecordOnUI(const std::string& action) { |
@@ -38,8 +36,6 @@ |
} // namespace |
-namespace content { |
- |
void RecordAction(const UserMetricsAction& action) { |
Record(action.str_); |
} |