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

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

Issue 2898733003: Split up ios/web:test_support. (Closed)
Patch Set: don't break downstream clients Created 3 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
« no previous file with comments | « ios/web/web_state/http_auth_inttest.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 <memory> 5 #include <memory>
6 #include <string> 6 #include <string>
7 7
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #import "ios/web/public/navigation_item.h" 10 #import "ios/web/public/navigation_item.h"
11 #import "ios/web/public/navigation_manager.h" 11 #import "ios/web/public/navigation_manager.h"
12 #import "ios/web/public/test/http_server.h" 12 #import "ios/web/public/test/http_server/http_server.h"
13 #include "ios/web/public/test/http_server_util.h" 13 #include "ios/web/public/test/http_server/http_server_util.h"
14 #import "ios/web/public/web_state/navigation_context.h" 14 #import "ios/web/public/web_state/navigation_context.h"
15 #include "ios/web/public/web_state/web_state_observer.h" 15 #include "ios/web/public/web_state/web_state_observer.h"
16 #include "ios/web/test/test_url_constants.h" 16 #include "ios/web/test/test_url_constants.h"
17 #import "ios/web/test/web_int_test.h" 17 #import "ios/web/test/web_int_test.h"
18 #include "testing/gmock/include/gmock/gmock.h" 18 #include "testing/gmock/include/gmock/gmock.h"
19 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
20 #include "ui/base/page_transition_types.h" 20 #include "ui/base/page_transition_types.h"
21 #include "url/gurl.h" 21 #include "url/gurl.h"
22 #include "url/scheme_host_port.h" 22 #include "url/scheme_host_port.h"
23 23
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 // delegate does not run callback for ShowRepostFormWarningDialog. Clearing 626 // delegate does not run callback for ShowRepostFormWarningDialog. Clearing
627 // the delegate will allow form resubmission. Remove this workaround (clearing 627 // the delegate will allow form resubmission. Remove this workaround (clearing
628 // the delegate, once |check_for_repost| is supported). 628 // the delegate, once |check_for_repost| is supported).
629 web_state()->SetDelegate(nullptr); 629 web_state()->SetDelegate(nullptr);
630 ExecuteBlockAndWaitForLoad(action, ^{ 630 ExecuteBlockAndWaitForLoad(action, ^{
631 navigation_manager()->GoForward(); 631 navigation_manager()->GoForward();
632 }); 632 });
633 } 633 }
634 634
635 } // namespace web 635 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/web_state/http_auth_inttest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698