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

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

Issue 11000016: Move forms/ out of webkit/. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Response to review Created 8 years, 2 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 "base/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "base/bind_helpers.h" 7 #include "base/bind_helpers.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/platform_file.h" 9 #include "base/platform_file.h"
10 #include "base/scoped_temp_dir.h" 10 #include "base/scoped_temp_dir.h"
(...skipping 21 matching lines...) Expand all
32 #include "testing/gtest/include/gtest/gtest.h" 32 #include "testing/gtest/include/gtest/gtest.h"
33 33
34 using base::WaitableEvent; 34 using base::WaitableEvent;
35 using content::BrowserThread; 35 using content::BrowserThread;
36 using testing::_; 36 using testing::_;
37 using testing::DoAll; 37 using testing::DoAll;
38 using testing::ElementsAreArray; 38 using testing::ElementsAreArray;
39 using testing::Pointee; 39 using testing::Pointee;
40 using testing::Property; 40 using testing::Property;
41 using testing::WithArg; 41 using testing::WithArg;
42 using webkit::forms::PasswordForm; 42 using content::PasswordForm;
43 43
44 typedef std::vector<PasswordForm*> VectorOfForms; 44 typedef std::vector<PasswordForm*> VectorOfForms;
45 45
46 namespace { 46 namespace {
47 47
48 class MockPasswordStoreConsumer : public PasswordStoreConsumer { 48 class MockPasswordStoreConsumer : public PasswordStoreConsumer {
49 public: 49 public:
50 MOCK_METHOD2(OnPasswordStoreRequestDone, 50 MOCK_METHOD2(OnPasswordStoreRequestDone,
51 void(CancelableRequestProvider::Handle, 51 void(CancelableRequestProvider::Handle,
52 const std::vector<PasswordForm*>&)); 52 const std::vector<PasswordForm*>&));
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 538
539 INSTANTIATE_TEST_CASE_P(NoBackend, 539 INSTANTIATE_TEST_CASE_P(NoBackend,
540 PasswordStoreXTest, 540 PasswordStoreXTest,
541 testing::Values(NO_BACKEND)); 541 testing::Values(NO_BACKEND));
542 INSTANTIATE_TEST_CASE_P(FailingBackend, 542 INSTANTIATE_TEST_CASE_P(FailingBackend,
543 PasswordStoreXTest, 543 PasswordStoreXTest,
544 testing::Values(FAILING_BACKEND)); 544 testing::Values(FAILING_BACKEND));
545 INSTANTIATE_TEST_CASE_P(WorkingBackend, 545 INSTANTIATE_TEST_CASE_P(WorkingBackend,
546 PasswordStoreXTest, 546 PasswordStoreXTest,
547 testing::Values(WORKING_BACKEND)); 547 testing::Values(WORKING_BACKEND));
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_store_x.cc ('k') | chrome/browser/sync/glue/password_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698