| 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
|
|
|