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

Side by Side Diff: ios/web/web_state/web_state_impl_unittest.mm

Issue 2605913002: Fix include import in ios/web (Closed)
Patch Set: add missing #import Created 3 years, 11 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
« no previous file with comments | « ios/web/web_state/web_state_impl.mm ('k') | ios/web/web_state/web_state_observer.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "ios/web/web_state/web_state_impl.h" 5 #import "ios/web/web_state/web_state_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory> 9 #include <memory>
10 10
11 #include "base/base64.h" 11 #include "base/base64.h"
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/mac/bind_objc_block.h" 14 #import "base/mac/bind_objc_block.h"
15 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
16 #include "base/test/ios/wait_util.h" 16 #import "base/test/ios/wait_util.h"
17 #include "base/values.h" 17 #include "base/values.h"
18 #import "ios/web/public/java_script_dialog_presenter.h" 18 #import "ios/web/public/java_script_dialog_presenter.h"
19 #include "ios/web/public/load_committed_details.h" 19 #include "ios/web/public/load_committed_details.h"
20 #include "ios/web/public/test/test_browser_state.h" 20 #include "ios/web/public/test/test_browser_state.h"
21 #include "ios/web/public/test/web_test.h" 21 #include "ios/web/public/test/web_test.h"
22 #include "ios/web/public/web_state/context_menu_params.h" 22 #import "ios/web/public/web_state/context_menu_params.h"
23 #include "ios/web/public/web_state/global_web_state_observer.h" 23 #include "ios/web/public/web_state/global_web_state_observer.h"
24 #include "ios/web/public/web_state/web_state_delegate.h" 24 #include "ios/web/public/web_state/web_state_delegate.h"
25 #include "ios/web/public/web_state/web_state_observer.h" 25 #include "ios/web/public/web_state/web_state_observer.h"
26 #include "ios/web/public/web_state/web_state_policy_decider.h" 26 #import "ios/web/public/web_state/web_state_policy_decider.h"
27 #include "ios/web/web_state/global_web_state_event_tracker.h" 27 #include "ios/web/web_state/global_web_state_event_tracker.h"
28 #import "ios/web/web_state/ui/crw_web_controller.h" 28 #import "ios/web/web_state/ui/crw_web_controller.h"
29 #include "net/http/http_response_headers.h" 29 #include "net/http/http_response_headers.h"
30 #include "net/http/http_util.h" 30 #include "net/http/http_util.h"
31 #include "testing/gmock/include/gmock/gmock.h" 31 #include "testing/gmock/include/gmock/gmock.h"
32 #include "testing/gtest/include/gtest/gtest.h" 32 #include "testing/gtest/include/gtest/gtest.h"
33 #include "testing/gtest_mac.h" 33 #import "testing/gtest_mac.h"
34 #include "url/gurl.h" 34 #include "url/gurl.h"
35 35
36 using testing::_; 36 using testing::_;
37 using testing::Assign; 37 using testing::Assign;
38 using testing::AtMost; 38 using testing::AtMost;
39 using testing::DoAll; 39 using testing::DoAll;
40 using testing::Return; 40 using testing::Return;
41 41
42 namespace web { 42 namespace web {
43 namespace { 43 namespace {
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 "</script>"); 736 "</script>");
737 737
738 base::test::ios::WaitUntilCondition(^{ 738 base::test::ios::WaitUntilCondition(^{
739 return message_received; 739 return message_received;
740 }); 740 });
741 web_state_->RemoveScriptCommandCallback("test"); 741 web_state_->RemoveScriptCommandCallback("test");
742 } 742 }
743 743
744 } // namespace 744 } // namespace
745 } // namespace web 745 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/web_state/web_state_impl.mm ('k') | ios/web/web_state/web_state_observer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698