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

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

Issue 3203008: Move prefs-related files under chrome/browser/ into a prefs/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include <wincrypt.h> 6 #include <wincrypt.h>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
12 #include "base/scoped_temp_dir.h" 12 #include "base/scoped_temp_dir.h"
13 #include "base/stl_util-inl.h" 13 #include "base/stl_util-inl.h"
14 #include "base/time.h" 14 #include "base/time.h"
15 #include "base/waitable_event.h" 15 #include "base/waitable_event.h"
16 #include "chrome/browser/chrome_thread.h" 16 #include "chrome/browser/chrome_thread.h"
17 #include "chrome/browser/password_manager/password_form_data.h" 17 #include "chrome/browser/password_manager/password_form_data.h"
18 #include "chrome/browser/password_manager/password_store_win.h" 18 #include "chrome/browser/password_manager/password_store_win.h"
19 #include "chrome/browser/password_manager/ie7_password.h" 19 #include "chrome/browser/password_manager/ie7_password.h"
20 #include "chrome/browser/pref_service.h" 20 #include "chrome/browser/prefs/pref_service.h"
21 #include "chrome/common/pref_names.h" 21 #include "chrome/common/pref_names.h"
22 #include "chrome/test/signaling_task.h" 22 #include "chrome/test/signaling_task.h"
23 #include "chrome/test/testing_profile.h" 23 #include "chrome/test/testing_profile.h"
24 #include "testing/gmock/include/gmock/gmock.h" 24 #include "testing/gmock/include/gmock/gmock.h"
25 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
26 26
27 using base::WaitableEvent; 27 using base::WaitableEvent;
28 using testing::_; 28 using testing::_;
29 using testing::DoAll; 29 using testing::DoAll;
30 using testing::WithArg; 30 using testing::WithArg;
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 // Wait for the WDS methods to execute on the DB thread. 489 // Wait for the WDS methods to execute on the DB thread.
490 ChromeThread::PostTask(ChromeThread::DB, FROM_HERE, new SignalingTask(&done)); 490 ChromeThread::PostTask(ChromeThread::DB, FROM_HERE, new SignalingTask(&done));
491 done.Wait(); 491 done.Wait();
492 492
493 // Handle the callback from the WDS. 493 // Handle the callback from the WDS.
494 MessageLoop::current()->RunAllPending(); 494 MessageLoop::current()->RunAllPending();
495 495
496 STLDeleteElements(&expected_autofillable); 496 STLDeleteElements(&expected_autofillable);
497 STLDeleteElements(&expected_blacklisted); 497 STLDeleteElements(&expected_blacklisted);
498 } 498 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698