| Index: extensions/renderer/script_context.h
 | 
| diff --git a/extensions/renderer/script_context.h b/extensions/renderer/script_context.h
 | 
| index 197ed3a180b213ec5264e5022c6d4704934bc609..8a900118f5abb7b11eac139181d29dd2fb79c3de 100644
 | 
| --- a/extensions/renderer/script_context.h
 | 
| +++ b/extensions/renderer/script_context.h
 | 
| @@ -126,6 +126,11 @@ class ScriptContext : public RequestSender::Source {
 | 
|  
 | 
|    // Returns the availability of the API |api_name|.
 | 
|    Feature::Availability GetAvailability(const std::string& api_name);
 | 
| +  // Returns the availability of the API |api_name|.
 | 
| +  // |allow_alias| Whether API that has an alias that is available should be
 | 
| +  // considered available (even if the API itself is not available).
 | 
| +  Feature::Availability GetAvailability(const std::string& api_name,
 | 
| +                                        bool allow_alias);
 | 
|  
 | 
|    // Returns a string description of the type of context this is.
 | 
|    std::string GetContextTypeDescription() const;
 | 
| @@ -152,10 +157,12 @@ class ScriptContext : public RequestSender::Source {
 | 
|    // TODO(kalman): Make this a constructor parameter (as an origin).
 | 
|    void set_url(const GURL& url) { url_ = url; }
 | 
|  
 | 
| -  // Returns whether the API |api| or any part of the API could be
 | 
| -  // available in this context without taking into account the context's
 | 
| -  // extension.
 | 
| -  bool IsAnyFeatureAvailableToContext(const extensions::Feature& api);
 | 
| +  // Returns whether the API |api| or any part of the API could be available in
 | 
| +  // this context without taking into account the context's extension.
 | 
| +  // |allow_alias| Whether the API should be considered available if it has an
 | 
| +  // alias that is available.
 | 
| +  bool IsAnyFeatureAvailableToContext(const extensions::Feature& api,
 | 
| +                                      bool allow_alias);
 | 
|  
 | 
|    // Utility to get the URL we will match against for a frame. If the frame has
 | 
|    // committed, this is the commited URL. Otherwise it is the provisional URL.
 | 
| 
 |