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

Unified Diff: content/browser/user_metrics.cc

Issue 11340029: Move remaining files in content\browser to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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: 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_);
}

Powered by Google App Engine
This is Rietveld 408576698