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

Side by Side Diff: ios/web/web_state/js/crw_js_post_request_loader_unittest.mm

Issue 2063763002: [ios] Removed deprecated ios/web/test/web_test.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually removed web_test.h Created 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #import "ios/web/web_state/js/crw_js_post_request_loader.h" 5 #import "ios/web/web_state/js/crw_js_post_request_loader.h"
6 6
7 #import <WebKit/WebKit.h> 7 #import <WebKit/WebKit.h>
8 8
9 #import "base/mac/foundation_util.h" 9 #import "base/mac/foundation_util.h"
10 #import "base/mac/scoped_nsobject.h" 10 #import "base/mac/scoped_nsobject.h"
11 #include "base/strings/sys_string_conversions.h" 11 #include "base/strings/sys_string_conversions.h"
12 #import "base/test/ios/wait_util.h" 12 #import "base/test/ios/wait_util.h"
13 #include "ios/web/public/test/web_test.h"
13 #import "ios/web/public/web_view_creation_util.h" 14 #import "ios/web/public/web_view_creation_util.h"
14 #import "ios/web/test/web_test.h"
15 #import "ios/web/web_state/ui/crw_wk_script_message_router.h" 15 #import "ios/web/web_state/ui/crw_wk_script_message_router.h"
16 #import "testing/gtest_mac.h" 16 #import "testing/gtest_mac.h"
17 #import "third_party/ocmock/OCMock/OCMock.h" 17 #import "third_party/ocmock/OCMock/OCMock.h"
18 18
19 namespace base { 19 namespace base {
20 namespace { 20 namespace {
21 21
22 typedef web::WebTest CRWJSPOSTRequestLoaderTest; 22 typedef web::WebTest CRWJSPOSTRequestLoaderTest;
23 23
24 // This script takes a JavaScript blob and converts it to a base64-encoded 24 // This script takes a JavaScript blob and converts it to a base64-encoded
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 return complete; 99 return complete;
100 }); 100 });
101 101
102 // Clean up installed script handler. 102 // Clean up installed script handler.
103 [messageRouter removeScriptMessageHandlerForName:@"XHRSendHandler" 103 [messageRouter removeScriptMessageHandlerForName:@"XHRSendHandler"
104 webView:web_view]; 104 webView:web_view];
105 } 105 }
106 106
107 } // namespace 107 } // namespace
108 } // namespace base 108 } // namespace base
OLDNEW
« no previous file with comments | « ios/web/web_state/js/crw_js_injection_manager_unittest.mm ('k') | ios/web/web_state/js/page_script_util_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698