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

Side by Side Diff: chrome/browser/android/data_usage/data_use_tab_model.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "chrome/browser/android/data_usage/data_use_tab_model.h" 5 #include "chrome/browser/android/data_usage/data_use_tab_model.h"
6 6
7 #include <stdint.h>
8
7 #include "base/metrics/histogram_macros.h" 9 #include "base/metrics/histogram_macros.h"
8 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
9 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
10 #include "base/time/default_tick_clock.h" 12 #include "base/time/default_tick_clock.h"
11 #include "base/time/tick_clock.h" 13 #include "base/time/tick_clock.h"
12 #include "base/time/time.h" 14 #include "base/time/time.h"
13 #include "chrome/browser/android/data_usage/data_use_matcher.h" 15 #include "chrome/browser/android/data_usage/data_use_matcher.h"
14 #include "chrome/browser/android/data_usage/external_data_use_observer.h" 16 #include "chrome/browser/android/data_usage/external_data_use_observer.h"
15 #include "components/variations/variations_associated_data.h" 17 #include "components/variations/variations_associated_data.h"
16 #include "content/public/browser/browser_thread.h" 18 #include "content/public/browser/browser_thread.h"
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 NowTicks() - 397 NowTicks() -
396 oldest_tab_entry_iterator->second.GetLatestStartOrEndTime(), 398 oldest_tab_entry_iterator->second.GetLatestStartOrEndTime(),
397 base::TimeDelta::FromMinutes(1), base::TimeDelta::FromHours(1), 50); 399 base::TimeDelta::FromMinutes(1), base::TimeDelta::FromHours(1), 50);
398 active_tabs_.erase(oldest_tab_entry_iterator); 400 active_tabs_.erase(oldest_tab_entry_iterator);
399 } 401 }
400 } 402 }
401 403
402 } // namespace android 404 } // namespace android
403 405
404 } // namespace chrome 406 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698