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

Side by Side Diff: chrome/browser/webdata/web_data_service_unittest.cc

Issue 2830012: Cleanup: Remove some unneeded WebKit headers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 6 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 | Annotate | Revision Log
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 <string> 5 #include <string>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 11 matching lines...) Expand all
22 #include "chrome/browser/webdata/autofill_entry.h" 22 #include "chrome/browser/webdata/autofill_entry.h"
23 #include "chrome/browser/webdata/web_data_service.h" 23 #include "chrome/browser/webdata/web_data_service.h"
24 #include "chrome/browser/webdata/web_data_service_test_util.h" 24 #include "chrome/browser/webdata/web_data_service_test_util.h"
25 #include "chrome/common/chrome_paths.h" 25 #include "chrome/common/chrome_paths.h"
26 #include "chrome/common/notification_details.h" 26 #include "chrome/common/notification_details.h"
27 #include "chrome/common/notification_service.h" 27 #include "chrome/common/notification_service.h"
28 #include "chrome/common/notification_type.h" 28 #include "chrome/common/notification_type.h"
29 #include "chrome/test/thread_observer_helper.h" 29 #include "chrome/test/thread_observer_helper.h"
30 #include "testing/gmock/include/gmock/gmock.h" 30 #include "testing/gmock/include/gmock/gmock.h"
31 #include "testing/gtest/include/gtest/gtest.h" 31 #include "testing/gtest/include/gtest/gtest.h"
32 #include "third_party/WebKit/WebKit/chromium/public/WebInputElement.h"
33 #include "webkit/glue/form_field.h" 32 #include "webkit/glue/form_field.h"
34 33
35 using base::Time; 34 using base::Time;
36 using base::TimeDelta; 35 using base::TimeDelta;
37 using base::WaitableEvent; 36 using base::WaitableEvent;
38 using testing::_; 37 using testing::_;
39 using testing::DoDefault; 38 using testing::DoDefault;
40 using testing::ElementsAreArray; 39 using testing::ElementsAreArray;
41 using testing::Pointee; 40 using testing::Pointee;
42 using testing::Property; 41 using testing::Property;
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 *observer_helper_->observer(), 376 *observer_helper_->observer(),
378 Observe(NotificationType(NotificationType::AUTOFILL_CREDIT_CARD_CHANGED), 377 Observe(NotificationType(NotificationType::AUTOFILL_CREDIT_CARD_CHANGED),
379 Source<WebDataService>(wds_.get()), 378 Source<WebDataService>(wds_.get()),
380 Property(&Details<const AutofillCreditCardChange>::ptr, 379 Property(&Details<const AutofillCreditCardChange>::ptr,
381 Pointee(expected_change)))). 380 Pointee(expected_change)))).
382 WillOnce(SignalEvent(&done_event_)); 381 WillOnce(SignalEvent(&done_event_));
383 382
384 wds_->UpdateCreditCard(card1_delta); 383 wds_->UpdateCreditCard(card1_delta);
385 done_event_.TimedWait(test_timeout_); 384 done_event_.TimedWait(test_timeout_);
386 } 385 }
OLDNEW
« no previous file with comments | « chrome/browser/ssl/ssl_policy_backend.h ('k') | chrome/browser/webdata/web_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698