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

Side by Side Diff: chrome/browser/signin/easy_unlock_screenlock_state_handler_unittest.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 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 "chrome/browser/signin/easy_unlock_screenlock_state_handler.h" 5 #include "chrome/browser/signin/easy_unlock_screenlock_state_handler.h"
6 6
7 #include <stddef.h>
8
7 #include <string> 9 #include <string>
8 #include <vector> 10 #include <vector>
9 11
12 #include "base/macros.h"
10 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
11 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
12 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
13 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
14 #include "base/test/histogram_tester.h" 17 #include "base/test/histogram_tester.h"
15 #include "chrome/browser/signin/easy_unlock_metrics.h" 18 #include "chrome/browser/signin/easy_unlock_metrics.h"
16 #include "chrome/browser/signin/easy_unlock_service.h" 19 #include "chrome/browser/signin/easy_unlock_service.h"
17 #include "chrome/grit/generated_resources.h" 20 #include "chrome/grit/generated_resources.h"
18 #include "components/proximity_auth/screenlock_bridge.h" 21 #include "components/proximity_auth/screenlock_bridge.h"
19 #include "components/proximity_auth/screenlock_state.h" 22 #include "components/proximity_auth/screenlock_state.h"
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 state_handler_->RecordClickOnLockIcon(); 742 state_handler_->RecordClickOnLockIcon();
740 histogram_tester.ExpectTotalCount("EasyUnlock.TrialRun.Events", 4); 743 histogram_tester.ExpectTotalCount("EasyUnlock.TrialRun.Events", 4);
741 histogram_tester.ExpectBucketCount("EasyUnlock.TrialRun.Events", 744 histogram_tester.ExpectBucketCount("EasyUnlock.TrialRun.Events",
742 EASY_UNLOCK_TRIAL_RUN_EVENT_LAUNCHED, 1); 745 EASY_UNLOCK_TRIAL_RUN_EVENT_LAUNCHED, 1);
743 histogram_tester.ExpectBucketCount( 746 histogram_tester.ExpectBucketCount(
744 "EasyUnlock.TrialRun.Events", 747 "EasyUnlock.TrialRun.Events",
745 EASY_UNLOCK_TRIAL_RUN_EVENT_CLICKED_LOCK_ICON, 3); 748 EASY_UNLOCK_TRIAL_RUN_EVENT_CLICKED_LOCK_ICON, 3);
746 } 749 }
747 750
748 } // namespace 751 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_screenlock_state_handler.cc ('k') | chrome/browser/signin/easy_unlock_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698