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

Side by Side Diff: content/browser/time_zone_monitor.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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 unified diff | Download patch
« no previous file with comments | « content/browser/time_zone_monitor.h ('k') | content/browser/time_zone_monitor_android.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/time_zone_monitor.h" 5 #include "content/browser/time_zone_monitor.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "build/build_config.h"
8 #include "content/public/browser/browser_thread.h" 9 #include "content/public/browser/browser_thread.h"
9 #include "content/public/browser/render_process_host.h" 10 #include "content/public/browser/render_process_host.h"
10 #include "third_party/icu/source/common/unicode/unistr.h" 11 #include "third_party/icu/source/common/unicode/unistr.h"
11 #include "third_party/icu/source/i18n/unicode/timezone.h" 12 #include "third_party/icu/source/i18n/unicode/timezone.h"
12 13
13 namespace content { 14 namespace content {
14 15
15 TimeZoneMonitor::TimeZoneMonitor() { 16 TimeZoneMonitor::TimeZoneMonitor() {
16 DCHECK_CURRENTLY_ON(BrowserThread::UI); 17 DCHECK_CURRENTLY_ON(BrowserThread::UI);
17 } 18 }
(...skipping 28 matching lines...) Expand all
46 VLOG(1) << "timezone reset to " << zone_id_str; 47 VLOG(1) << "timezone reset to " << zone_id_str;
47 for (RenderProcessHost::iterator iterator = 48 for (RenderProcessHost::iterator iterator =
48 RenderProcessHost::AllHostsIterator(); 49 RenderProcessHost::AllHostsIterator();
49 !iterator.IsAtEnd(); 50 !iterator.IsAtEnd();
50 iterator.Advance()) { 51 iterator.Advance()) {
51 iterator.GetCurrentValue()->NotifyTimezoneChange(zone_id_str); 52 iterator.GetCurrentValue()->NotifyTimezoneChange(zone_id_str);
52 } 53 }
53 } 54 }
54 55
55 } // namespace content 56 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/time_zone_monitor.h ('k') | content/browser/time_zone_monitor_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698