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

Side by Side Diff: chrome/browser/signin/easy_unlock_service_unittest_chromeos.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 <stddef.h>
6
5 #include <map> 7 #include <map>
6 #include <string> 8 #include <string>
7 9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
10 #include "base/run_loop.h" 12 #include "base/run_loop.h"
11 #include "base/values.h" 13 #include "base/values.h"
12 #include "chrome/browser/chromeos/login/users/mock_user_manager.h" 14 #include "chrome/browser/chromeos/login/users/mock_user_manager.h"
13 #include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h" 15 #include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h"
14 #include "chrome/browser/chromeos/profiles/profile_helper.h" 16 #include "chrome/browser/chromeos/profiles/profile_helper.h"
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 ON_CALL(*mock_user_manager_, IsCurrentUserNonCryptohomeDataEphemeral()) 368 ON_CALL(*mock_user_manager_, IsCurrentUserNonCryptohomeDataEphemeral())
367 .WillByDefault(Return(true)); 369 .WillByDefault(Return(true));
368 370
369 SetAppManagerReady(profile_.get()); 371 SetAppManagerReady(profile_.get());
370 EXPECT_FALSE(EasyUnlockService::Get(profile_.get())->IsAllowed()); 372 EXPECT_FALSE(EasyUnlockService::Get(profile_.get())->IsAllowed());
371 EXPECT_TRUE( 373 EXPECT_TRUE(
372 EasyUnlockAppInState(profile_.get(), TestAppManager::STATE_NOT_LOADED)); 374 EasyUnlockAppInState(profile_.get(), TestAppManager::STATE_NOT_LOADED));
373 } 375 }
374 376
375 } // namespace 377 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_service_signin_chromeos.cc ('k') | chrome/browser/signin/fake_gaia_cookie_manager_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698