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

Side by Side Diff: chrome/browser/signin/easy_unlock_app_manager_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 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/signin/easy_unlock_app_manager.h" 5 #include "chrome/browser/signin/easy_unlock_app_manager.h"
6 6
7 #include <stddef.h>
8
7 #include <string> 9 #include <string>
8 10
9 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
11 #include "base/run_loop.h" 14 #include "base/run_loop.h"
15 #include "build/build_config.h"
12 #include "chrome/browser/extensions/api/screenlock_private/screenlock_private_ap i.h" 16 #include "chrome/browser/extensions/api/screenlock_private/screenlock_private_ap i.h"
13 #include "chrome/browser/extensions/component_loader.h" 17 #include "chrome/browser/extensions/component_loader.h"
14 #include "chrome/browser/extensions/extension_service.h" 18 #include "chrome/browser/extensions/extension_service.h"
15 #include "chrome/browser/extensions/test_extension_system.h" 19 #include "chrome/browser/extensions/test_extension_system.h"
16 #include "chrome/common/extensions/api/easy_unlock_private.h" 20 #include "chrome/common/extensions/api/easy_unlock_private.h"
17 #include "chrome/common/extensions/api/screenlock_private.h" 21 #include "chrome/common/extensions/api/screenlock_private.h"
18 #include "chrome/common/extensions/extension_constants.h" 22 #include "chrome/common/extensions/extension_constants.h"
19 #include "chrome/test/base/testing_profile.h" 23 #include "chrome/test/base/testing_profile.h"
20 #include "components/proximity_auth/switches.h" 24 #include "components/proximity_auth/switches.h"
21 #include "content/public/test/test_browser_thread_bundle.h" 25 #include "content/public/test/test_browser_thread_bundle.h"
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 extension_misc::kEasyUnlockAppId); 635 extension_misc::kEasyUnlockAppId);
632 app_manager_->DisableAppIfLoaded(); 636 app_manager_->DisableAppIfLoaded();
633 637
634 ASSERT_EQ(0u, event_consumer_.auth_attempted_count()); 638 ASSERT_EQ(0u, event_consumer_.auth_attempted_count());
635 639
636 EXPECT_FALSE(app_manager_->SendAuthAttemptEvent()); 640 EXPECT_FALSE(app_manager_->SendAuthAttemptEvent());
637 EXPECT_EQ(0u, event_consumer_.auth_attempted_count()); 641 EXPECT_EQ(0u, event_consumer_.auth_attempted_count());
638 } 642 }
639 643
640 } // namespace 644 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_app_manager.cc ('k') | chrome/browser/signin/easy_unlock_auth_attempt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698