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

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

Issue 8680040: Group forms-related files in webkit/glue in a forms/ subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + another build fix Created 9 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 22 matching lines...) Expand all
33 #include "testing/gtest/include/gtest/gtest.h" 33 #include "testing/gtest/include/gtest/gtest.h"
34 34
35 using base::WaitableEvent; 35 using base::WaitableEvent;
36 using content::BrowserThread; 36 using content::BrowserThread;
37 using testing::_; 37 using testing::_;
38 using testing::DoAll; 38 using testing::DoAll;
39 using testing::ElementsAreArray; 39 using testing::ElementsAreArray;
40 using testing::Pointee; 40 using testing::Pointee;
41 using testing::Property; 41 using testing::Property;
42 using testing::WithArg; 42 using testing::WithArg;
43 using webkit_glue::PasswordForm; 43 using webkit::forms::PasswordForm;
44 44
45 typedef std::vector<PasswordForm*> VectorOfForms; 45 typedef std::vector<PasswordForm*> VectorOfForms;
46 46
47 namespace { 47 namespace {
48 48
49 class MockPasswordStoreConsumer : public PasswordStoreConsumer { 49 class MockPasswordStoreConsumer : public PasswordStoreConsumer {
50 public: 50 public:
51 MOCK_METHOD2(OnPasswordStoreRequestDone, 51 MOCK_METHOD2(OnPasswordStoreRequestDone,
52 void(CancelableRequestProvider::Handle, 52 void(CancelableRequestProvider::Handle,
53 const std::vector<PasswordForm*>&)); 53 const std::vector<PasswordForm*>&));
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 756
757 INSTANTIATE_TEST_CASE_P(NoBackend, 757 INSTANTIATE_TEST_CASE_P(NoBackend,
758 PasswordStoreXTest, 758 PasswordStoreXTest,
759 testing::Values(NO_BACKEND)); 759 testing::Values(NO_BACKEND));
760 INSTANTIATE_TEST_CASE_P(FailingBackend, 760 INSTANTIATE_TEST_CASE_P(FailingBackend,
761 PasswordStoreXTest, 761 PasswordStoreXTest,
762 testing::Values(FAILING_BACKEND)); 762 testing::Values(FAILING_BACKEND));
763 INSTANTIATE_TEST_CASE_P(WorkingBackend, 763 INSTANTIATE_TEST_CASE_P(WorkingBackend,
764 PasswordStoreXTest, 764 PasswordStoreXTest,
765 testing::Values(WORKING_BACKEND)); 765 testing::Values(WORKING_BACKEND));
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_store_x.cc ('k') | chrome/browser/password_manager_delegate_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698