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

Unified Diff: device/time_zone_monitor/time_zone_monitor_win.cc

Issue 2353283002: [TimeZoneMonitor] Decouple //content/browser/time_zone_monitor* to //device/. (Closed)
Patch Set: Do not set output_name in gn Created 4 years, 3 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 | « device/time_zone_monitor/time_zone_monitor_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/time_zone_monitor/time_zone_monitor_win.cc
diff --git a/content/browser/time_zone_monitor_win.cc b/device/time_zone_monitor/time_zone_monitor_win.cc
similarity index 78%
rename from content/browser/time_zone_monitor_win.cc
rename to device/time_zone_monitor/time_zone_monitor_win.cc
index 2346763119366b852469ef1451a7a4ebcf6665e1..d698911dbdee7552105004d660c20b134f0f8797 100644
--- a/content/browser/time_zone_monitor_win.cc
+++ b/device/time_zone_monitor/time_zone_monitor_win.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/browser/time_zone_monitor.h"
+#include "device/time_zone_monitor/time_zone_monitor.h"
#include <windows.h>
@@ -13,15 +13,15 @@
#include "base/macros.h"
#include "ui/gfx/win/singleton_hwnd_observer.h"
-namespace content {
+namespace device {
class TimeZoneMonitorWin : public TimeZoneMonitor {
public:
TimeZoneMonitorWin()
: TimeZoneMonitor(),
- singleton_hwnd_observer_(
- new gfx::SingletonHwndObserver(base::Bind(
- &TimeZoneMonitorWin::OnWndProc, base::Unretained(this)))) {}
+ singleton_hwnd_observer_(new gfx::SingletonHwndObserver(
+ base::Bind(&TimeZoneMonitorWin::OnWndProc,
+ base::Unretained(this)))) {}
~TimeZoneMonitorWin() override {}
@@ -45,4 +45,4 @@ std::unique_ptr<TimeZoneMonitor> TimeZoneMonitor::Create(
return std::unique_ptr<TimeZoneMonitor>(new TimeZoneMonitorWin());
}
-} // namespace content
+} // namespace device
« no previous file with comments | « device/time_zone_monitor/time_zone_monitor_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698