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

Unified Diff: chrome/renderer/extensions/module_system.cc

Issue 10879107: Move ModuleSystem and NativeHandler to extensions/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/renderer/extensions/module_system.h ('k') | chrome/renderer/extensions/module_system_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/module_system.cc
diff --git a/chrome/renderer/module_system.cc b/chrome/renderer/extensions/module_system.cc
similarity index 98%
rename from chrome/renderer/module_system.cc
rename to chrome/renderer/extensions/module_system.cc
index 43a57472620091f3da36bb71fd59e230c160dac6..6e4c5e36f6f33856ee93efa9a62069de1cd56d91 100644
--- a/chrome/renderer/module_system.cc
+++ b/chrome/renderer/extensions/module_system.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/renderer/module_system.h"
+#include "chrome/renderer/extensions/module_system.h"
#include "base/bind.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebScopedMicrotaskSuppression.h"
@@ -16,6 +16,8 @@ const char* kModulesField = "modules";
} // namespace
+namespace extensions {
+
ModuleSystem::ModuleSystem(v8::Handle<v8::Context> context,
SourceMap* source_map)
: context_(v8::Persistent<v8::Context>::New(context)),
@@ -265,3 +267,5 @@ v8::Handle<v8::String> ModuleSystem::WrapSource(v8::Handle<v8::String> source) {
v8::Handle<v8::Value> ModuleSystem::ThrowException(const std::string& message) {
return v8::ThrowException(v8::String::New(message.c_str()));
}
+
+} // extensions
« no previous file with comments | « chrome/renderer/extensions/module_system.h ('k') | chrome/renderer/extensions/module_system_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698