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

Side by Side Diff: chrome/browser/android/data_usage/tab_data_use_entry_unittest.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/tab_data_use_entry.h" 5 #include "chrome/browser/android/data_usage/tab_data_use_entry.h"
6 6
7 #include <stddef.h>
7 #include <stdint.h> 8 #include <stdint.h>
8 9
9 #include <string> 10 #include <string>
10 11
11 #include "base/macros.h" 12 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
13 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
14 #include "base/test/histogram_tester.h" 15 #include "base/test/histogram_tester.h"
15 #include "base/time/tick_clock.h" 16 #include "base/time/tick_clock.h"
16 #include "base/time/time.h" 17 #include "base/time/time.h"
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 EXPECT_TRUE(tab_entry_->EndTracking()); 540 EXPECT_TRUE(tab_entry_->EndTracking());
540 541
541 histogram_tester.ExpectUniqueSample( 542 histogram_tester.ExpectUniqueSample(
542 kUMAOldInactiveSessionRemovalDurationSecondsHistogram, 543 kUMAOldInactiveSessionRemovalDurationSecondsHistogram,
543 base::TimeDelta::FromSeconds(30).InMilliseconds(), 1); 544 base::TimeDelta::FromSeconds(30).InMilliseconds(), 1);
544 } 545 }
545 546
546 } // namespace android 547 } // namespace android
547 548
548 } // namespace chrome 549 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698