Index: chrome/browser/extensions/api/context_menus/context_menus_api.cc |
diff --git a/chrome/browser/extensions/api/context_menu/context_menu_api.cc b/chrome/browser/extensions/api/context_menus/context_menus_api.cc |
similarity index 98% |
rename from chrome/browser/extensions/api/context_menu/context_menu_api.cc |
rename to chrome/browser/extensions/api/context_menus/context_menus_api.cc |
index 0d98897eea73abe3632456235e1d584a0cb64312..45f4264b7395a99c75a70e6c58f658d3849e9ac9 100644 |
--- a/chrome/browser/extensions/api/context_menu/context_menu_api.cc |
+++ b/chrome/browser/extensions/api/context_menus/context_menus_api.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chrome/browser/extensions/api/context_menu/context_menu_api.h" |
+#include "chrome/browser/extensions/api/context_menus/context_menus_api.h" |
#include <string> |
@@ -150,7 +150,7 @@ namespace Create = api::context_menus::Create; |
namespace Remove = api::context_menus::Remove; |
namespace Update = api::context_menus::Update; |
-bool CreateContextMenuFunction::RunImpl() { |
+bool ContextMenusCreateFunction::RunImpl() { |
MenuItem::Id id(profile()->IsOffTheRecord(), extension_id()); |
scoped_ptr<Create::Params> params(Create::Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params.get()); |
@@ -245,7 +245,7 @@ bool CreateContextMenuFunction::RunImpl() { |
return true; |
} |
-bool UpdateContextMenuFunction::RunImpl() { |
+bool ContextMenusUpdateFunction::RunImpl() { |
bool radio_item_updated = false; |
MenuItem::Id item_id(profile()->IsOffTheRecord(), extension_id()); |
scoped_ptr<Update::Params> params(Update::Params::Create(*args_)); |
@@ -354,7 +354,7 @@ bool UpdateContextMenuFunction::RunImpl() { |
return true; |
} |
-bool RemoveContextMenuFunction::RunImpl() { |
+bool ContextMenusRemoveFunction::RunImpl() { |
scoped_ptr<Remove::Params> params(Remove::Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params.get()); |
@@ -387,7 +387,7 @@ bool RemoveContextMenuFunction::RunImpl() { |
return true; |
} |
-bool RemoveAllContextMenusFunction::RunImpl() { |
+bool ContextMenusRemoveAllFunction::RunImpl() { |
ExtensionService* service = profile()->GetExtensionService(); |
MenuManager* manager = service->menu_manager(); |
manager->RemoveAllContextItems(GetExtension()->id()); |