| Index: chrome/browser/ui/search_engines/keyword_editor_controller.cc
|
| diff --git a/chrome/browser/ui/search_engines/keyword_editor_controller.cc b/chrome/browser/ui/search_engines/keyword_editor_controller.cc
|
| index 1c2fd5ead84e5600a6bdf13252c4777402a0380b..536c5aa291f0db9713d8a15a11e197b6f1932a8e 100644
|
| --- a/chrome/browser/ui/search_engines/keyword_editor_controller.cc
|
| +++ b/chrome/browser/ui/search_engines/keyword_editor_controller.cc
|
| @@ -4,13 +4,13 @@
|
|
|
| #include "chrome/browser/ui/search_engines/keyword_editor_controller.h"
|
|
|
| +#include "base/metrics/user_metrics.h"
|
| #include "chrome/browser/favicon/favicon_service_factory.h"
|
| #include "chrome/browser/search_engines/template_url_service_factory.h"
|
| #include "chrome/browser/ui/search_engines/template_url_table_model.h"
|
| #include "components/prefs/pref_registry_simple.h"
|
| #include "components/search_engines/template_url.h"
|
| #include "components/search_engines/template_url_service.h"
|
| -#include "content/public/browser/user_metrics.h"
|
|
|
| using base::UserMetricsAction;
|
|
|
| @@ -29,7 +29,7 @@ int KeywordEditorController::AddTemplateURL(const base::string16& title,
|
| const std::string& url) {
|
| DCHECK(!url.empty());
|
|
|
| - content::RecordAction(UserMetricsAction("KeywordEditor_AddKeyword"));
|
| + base::RecordAction(UserMetricsAction("KeywordEditor_AddKeyword"));
|
|
|
| const int new_index = table_model_->last_other_engine_index();
|
| table_model_->Add(new_index, title, keyword, url);
|
| @@ -56,7 +56,7 @@ void KeywordEditorController::ModifyTemplateURL(TemplateURL* template_url,
|
|
|
| table_model_->ModifyTemplateURL(index, title, keyword, url);
|
|
|
| - content::RecordAction(UserMetricsAction("KeywordEditor_ModifiedKeyword"));
|
| + base::RecordAction(UserMetricsAction("KeywordEditor_ModifiedKeyword"));
|
| }
|
|
|
| bool KeywordEditorController::CanEdit(const TemplateURL* url) const {
|
| @@ -76,7 +76,7 @@ bool KeywordEditorController::CanRemove(const TemplateURL* url) const {
|
|
|
| void KeywordEditorController::RemoveTemplateURL(int index) {
|
| table_model_->Remove(index);
|
| - content::RecordAction(UserMetricsAction("KeywordEditor_RemoveKeyword"));
|
| + base::RecordAction(UserMetricsAction("KeywordEditor_RemoveKeyword"));
|
| }
|
|
|
| TemplateURL* KeywordEditorController::GetDefaultSearchProvider() {
|
|
|