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

Unified Diff: ios/web/public/test/test_web_state.h

Issue 840813009: Enable strict-virtual-specifiers for iOS builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 5 years, 11 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 | « ios/web/navigation/navigation_item_impl_unittest.mm ('k') | ios/web/public/web_state/web_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « ios/web/navigation/navigation_item_impl_unittest.mm ('k') | ios/web/public/web_state/web_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698