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

Unified Diff: chrome/browser/extensions/extension_omnibox_api.cc

Issue 5730004: Rename ExtensionsService to ExtensionService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 10 years 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_omnibox_api.cc
diff --git a/chrome/browser/extensions/extension_omnibox_api.cc b/chrome/browser/extensions/extension_omnibox_api.cc
index 760e459801d02dea38e9342d9e2ec6fab2155698..4981c98a3a2289015e3d83c74eca385fc01823ae 100644
--- a/chrome/browser/extensions/extension_omnibox_api.cc
+++ b/chrome/browser/extensions/extension_omnibox_api.cc
@@ -10,7 +10,7 @@
#include "base/utf_string_conversions.h"
#include "base/values.h"
#include "chrome/browser/extensions/extension_event_router.h"
-#include "chrome/browser/extensions/extensions_service.h"
+#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search_engines/template_url.h"
#include "chrome/common/notification_service.h"
@@ -48,11 +48,11 @@ PropertyAccessor<ExtensionOmniboxSuggestion>& GetPropertyAccessor() {
const ExtensionOmniboxSuggestion* GetDefaultSuggestionForExtension(
Profile* profile, const std::string& extension_id) {
const Extension* extension =
- profile->GetExtensionsService()->GetExtensionById(extension_id, false);
+ profile->GetExtensionService()->GetExtensionById(extension_id, false);
if (!extension)
return NULL;
return GetPropertyAccessor().GetProperty(
- profile->GetExtensionsService()->GetPropertyBag(extension));
+ profile->GetExtensionService()->GetPropertyBag(extension));
}
}; // namespace
@@ -164,7 +164,7 @@ bool OmniboxSetDefaultSuggestionFunction::RunImpl() {
// Store the suggestion in the extension's runtime data.
GetPropertyAccessor().SetProperty(
- profile_->GetExtensionsService()->GetPropertyBag(GetExtension()),
+ profile_->GetExtensionService()->GetPropertyBag(GetExtension()),
suggestion);
NotificationService::current()->Notify(
« no previous file with comments | « chrome/browser/extensions/extension_module.cc ('k') | chrome/browser/extensions/extension_override_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698