Index: ios/web/public/test/test_web_state.h |
diff --git a/ios/web/public/test/test_web_state.h b/ios/web/public/test/test_web_state.h |
index 7a7f4d581694ba37146967fd9ee77a9be0be0760..ac89a7fe03606555b5bad01007ede7606ce78d6f 100644 |
--- a/ios/web/public/test/test_web_state.h |
+++ b/ios/web/public/test/test_web_state.h |
@@ -16,22 +16,21 @@ namespace web { |
class TestWebState : public WebState { |
public: |
// WebState implementation. |
- virtual BrowserState* GetBrowserState() const override; |
- virtual void OpenURL(const OpenURLParams& params) override {} |
- virtual NavigationManager* GetNavigationManager() override; |
- virtual CRWJSInjectionReceiver* GetJSInjectionReceiver() const override; |
- virtual const std::string& GetContentsMimeType() const override; |
- virtual const std::string& GetContentLanguageHeader() const override; |
- virtual bool ContentIsHTML() const override; |
- virtual const GURL& GetVisibleURL() const override; |
- virtual const GURL& GetLastCommittedURL() const override; |
- virtual void AddScriptCommandCallback( |
- const ScriptCommandCallback& callback, |
- const std::string& command_prefix) override {} |
- virtual void RemoveScriptCommandCallback( |
- const std::string& command_prefix) override {} |
- virtual void AddObserver(WebStateObserver* observer) override {} |
- virtual void RemoveObserver(WebStateObserver* observer) override {} |
+ BrowserState* GetBrowserState() const override; |
+ void OpenURL(const OpenURLParams& params) override {} |
+ NavigationManager* GetNavigationManager() override; |
+ CRWJSInjectionReceiver* GetJSInjectionReceiver() const override; |
+ const std::string& GetContentsMimeType() const override; |
+ const std::string& GetContentLanguageHeader() const override; |
+ bool ContentIsHTML() const override; |
+ const GURL& GetVisibleURL() const override; |
+ const GURL& GetLastCommittedURL() const override; |
+ void AddScriptCommandCallback(const ScriptCommandCallback& callback, |
+ const std::string& command_prefix) override {} |
+ void RemoveScriptCommandCallback(const std::string& command_prefix) override { |
+ } |
+ void AddObserver(WebStateObserver* observer) override {} |
+ void RemoveObserver(WebStateObserver* observer) override {} |
private: |
GURL url_; |