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

Side by Side Diff: chrome/browser/password_manager/password_store_win_unittest.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <windows.h> 5 #include <windows.h>
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/files/scoped_temp_dir.h" 12 #include "base/files/scoped_temp_dir.h"
13 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
14 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
15 #include "base/prefs/pref_service.h" 16 #include "base/prefs/pref_service.h"
16 #include "base/stl_util.h" 17 #include "base/stl_util.h"
17 #include "base/synchronization/waitable_event.h" 18 #include "base/synchronization/waitable_event.h"
18 #include "base/thread_task_runner_handle.h" 19 #include "base/thread_task_runner_handle.h"
19 #include "base/time/time.h" 20 #include "base/time/time.h"
20 #include "chrome/browser/password_manager/password_store_win.h" 21 #include "chrome/browser/password_manager/password_store_win.h"
21 #include "chrome/test/base/testing_profile.h" 22 #include "chrome/test/base/testing_profile.h"
22 #include "components/os_crypt/ie7_password_win.h" 23 #include "components/os_crypt/ie7_password_win.h"
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 423
423 // Make sure we quit the MessageLoop even if the test fails. 424 // Make sure we quit the MessageLoop even if the test fails.
424 ON_CALL(consumer, OnGetPasswordStoreResultsConstRef(_)) 425 ON_CALL(consumer, OnGetPasswordStoreResultsConstRef(_))
425 .WillByDefault(QuitUIMessageLoop()); 426 .WillByDefault(QuitUIMessageLoop());
426 427
427 EXPECT_CALL(consumer, OnGetPasswordStoreResultsConstRef(IsEmpty())); 428 EXPECT_CALL(consumer, OnGetPasswordStoreResultsConstRef(IsEmpty()));
428 429
429 store_->GetAutofillableLogins(&consumer); 430 store_->GetAutofillableLogins(&consumer);
430 base::MessageLoop::current()->Run(); 431 base::MessageLoop::current()->Run();
431 } 432 }
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_store_win.cc ('k') | chrome/browser/password_manager/password_store_x.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698