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

Unified Diff: content/renderer/render_thread_impl.h

Issue 2402983002: [TimeZoneMonitor] Decouple renderer side impl from content to blink. (Closed)
Patch Set: Created 4 years, 2 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
Index: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index a5eba9781cef3a369d13b00a2e65ff944d42bdeb..33aa0be2c0c22e6c34ab3b3e7ab04b594ddb106d 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -35,7 +35,6 @@
#include "content/public/renderer/render_thread.h"
#include "content/renderer/gpu/compositor_dependencies.h"
#include "content/renderer/layout_test_dependencies.h"
-#include "device/time_zone_monitor/public/interfaces/time_zone_monitor.mojom.h"
#include "gpu/ipc/client/gpu_channel_host.h"
#include "mojo/public/cpp/bindings/associated_binding.h"
#include "mojo/public/cpp/bindings/binding.h"
@@ -156,8 +155,6 @@ class CONTENT_EXPORT RenderThreadImpl
public blink::scheduler::RendererScheduler::RAILModeObserver,
public ChildMemoryCoordinatorDelegate,
NON_EXPORTED_BASE(public mojom::Renderer),
- // TODO(blundell): Separate this impl out into Blink.
- NON_EXPORTED_BASE(public device::mojom::TimeZoneMonitorClient),
NON_EXPORTED_BASE(public CompositorDependencies) {
public:
static RenderThreadImpl* Create(const InProcessChildThreadParams& params);
@@ -177,10 +174,6 @@ class CONTENT_EXPORT RenderThreadImpl
// module are registered properly. Static to allow sharing with tests.
static void RegisterSchemes();
- // Notify V8 that the date/time configuration of the system might have
- // changed.
- static void NotifyTimezoneChange();
-
// RenderThread implementation:
bool Send(IPC::Message* msg) override;
IPC::SyncChannel* GetChannel() override;
@@ -519,8 +512,6 @@ class CONTENT_EXPORT RenderThreadImpl
int32_t parent_routing_id,
const FrameReplicationState& replicated_state) override;
- // device::mojom::TimeZoneClient:
- void OnTimeZoneChange(const std::string& zoneId) override;
void OnMemoryPressure(
base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level);
#if defined(OS_ANDROID)
@@ -590,9 +581,6 @@ class CONTENT_EXPORT RenderThreadImpl
scoped_refptr<AecDumpMessageFilter> aec_dump_message_filter_;
#endif
- mojo::Binding<device::mojom::TimeZoneMonitorClient>
- time_zone_monitor_binding_;
-
// Used on the render thread.
std::unique_ptr<VideoCaptureImplManager> vc_manager_;

Powered by Google App Engine
This is Rietveld 408576698