| Index: extensions/renderer/dispatcher.cc
|
| diff --git a/extensions/renderer/dispatcher.cc b/extensions/renderer/dispatcher.cc
|
| index a3014ed4b5b69a5e29e3c1daefdb3d2745f87883..bba20872ec3f55ca077f8b93e82ccbf36b676333 100644
|
| --- a/extensions/renderer/dispatcher.cc
|
| +++ b/extensions/renderer/dispatcher.cc
|
| @@ -73,7 +73,6 @@
|
| #include "extensions/renderer/user_script_slave.h"
|
| #include "extensions/renderer/utils_native_handler.h"
|
| #include "extensions/renderer/v8_context_native_handler.h"
|
| -#include "grit/common_resources.h"
|
| #include "grit/renderer_resources.h"
|
| #include "third_party/WebKit/public/platform/WebString.h"
|
| #include "third_party/WebKit/public/platform/WebURLRequest.h"
|
| @@ -867,7 +866,8 @@ void Dispatcher::UpdateBindingsForContext(ScriptContext* context) {
|
| case Feature::CONTENT_SCRIPT_CONTEXT: {
|
| // Extension context; iterate through all the APIs and bind the available
|
| // ones.
|
| - FeatureProvider* api_feature_provider = FeatureProvider::GetAPIFeatures();
|
| + const FeatureProvider* api_feature_provider =
|
| + FeatureProvider::GetAPIFeatures();
|
| const std::vector<std::string>& apis =
|
| api_feature_provider->GetAllFeatureNames();
|
| for (std::vector<std::string>::const_iterator it = apis.begin();
|
| @@ -1187,7 +1187,8 @@ v8::Handle<v8::Object> Dispatcher::GetOrCreateBindObjectIfAvailable(
|
| // If app is available and app.window is not, just install app.
|
| // If app.window is available and app is not, delete app and install
|
| // app.window on a new object so app does not have to be loaded.
|
| - FeatureProvider* api_feature_provider = FeatureProvider::GetAPIFeatures();
|
| + const FeatureProvider* api_feature_provider =
|
| + FeatureProvider::GetAPIFeatures();
|
| std::string ancestor_name;
|
| bool only_ancestor_available = false;
|
|
|
|
|