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

Unified Diff: sky/viewer/platform/platform_impl.h

Issue 892053002: Cleanup unused #includes and declarations in PlatformImpl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Leave locale 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 | « sky/engine/testing/platform/platform_impl.cc ('k') | sky/viewer/platform/platform_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/platform/platform_impl.h
diff --git a/sky/viewer/platform/platform_impl.h b/sky/viewer/platform/platform_impl.h
index 140c86fd0587916a6ffd96a4c612899c7a564fa6..5cb3c2476ccef5f679e85321c966a6fa13169694 100644
--- a/sky/viewer/platform/platform_impl.h
+++ b/sky/viewer/platform/platform_impl.h
@@ -5,10 +5,7 @@
#ifndef SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_
#define SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_
-#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
-#include "base/threading/thread_local_storage.h"
-#include "base/timer/timer.h"
#include "mojo/services/network/public/interfaces/network_service.mojom.h"
#include "sky/engine/public/platform/Platform.h"
@@ -21,18 +18,17 @@ namespace sky {
class PlatformImpl : public blink::Platform {
public:
explicit PlatformImpl(mojo::ApplicationImpl* app);
- virtual ~PlatformImpl();
+ ~PlatformImpl() override;
// blink::Platform methods:
- virtual blink::WebString defaultLocale();
- virtual base::SingleThreadTaskRunner* mainThreadTaskRunner();
- virtual mojo::NetworkService* networkService();
- virtual blink::WebURLLoader* createURLLoader();
- virtual blink::WebURLError cancelledError(const blink::WebURL& url) const;
+ blink::WebString defaultLocale() override;
+ base::SingleThreadTaskRunner* mainThreadTaskRunner() override;
+ mojo::NetworkService* networkService() override;
+ blink::WebURLLoader* createURLLoader() override;
+ blink::WebURLError cancelledError(const blink::WebURL& url) const override;
private:
mojo::NetworkServicePtr network_service_;
- base::MessageLoop* main_loop_;
scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
DISALLOW_COPY_AND_ASSIGN(PlatformImpl);
« no previous file with comments | « sky/engine/testing/platform/platform_impl.cc ('k') | sky/viewer/platform/platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698