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

Unified Diff: chrome/browser/extensions/api/context_menus/context_menus_api.cc

Issue 11747025: Run the JSON Schema Compiler's bundle compilation on JSON files. Previously it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ms release build Created 7 years, 11 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: 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());
« no previous file with comments | « chrome/browser/extensions/api/context_menus/context_menus_api.h ('k') | chrome/browser/extensions/api/cookies/cookies_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698