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

Unified Diff: chrome/browser/ui/webui/options2/options_ui2.cc

Issue 9703039: Extensions: Don't pass the selected unpacked extension path from JS to C++ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 years, 9 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
« no previous file with comments | « chrome/browser/ui/webui/extensions/pack_extension_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options2/options_ui2.cc
diff --git a/chrome/browser/ui/webui/options2/options_ui2.cc b/chrome/browser/ui/webui/options2/options_ui2.cc
index 83bc0c59536a6f2ede59d8d34c7de57df52f8ec3..bd5469766de629bf36676c06512a5ebb7ff05b83 100644
--- a/chrome/browser/ui/webui/options2/options_ui2.cc
+++ b/chrome/browser/ui/webui/options2/options_ui2.cc
@@ -86,13 +86,15 @@
#endif
using content::RenderViewHost;
-using content::WebContents;
-using content::WebUIMessageHandler;
-namespace options2 {
+namespace {
+
+const char kLocalizedStringsFile[] = "strings.js";
+const char kOptionsBundleJsFile[] = "options_bundle.js";
-static const char kLocalizedStringsFile[] = "strings.js";
-static const char kOptionsBundleJsFile[] = "options_bundle.js";
+} // namespace
+
+namespace options2 {
////////////////////////////////////////////////////////////////////////////////
//
« no previous file with comments | « chrome/browser/ui/webui/extensions/pack_extension_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698