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

Side by Side Diff: ios/web/web_state/ui/crw_web_controller_observer_unittest.mm

Issue 1307643003: IWYU for base/memory/scoped_vector.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 4 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 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 #import "ios/web/web_state/ui/crw_web_controller.h" 5 #import "ios/web/web_state/ui/crw_web_controller.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
11 #include "base/memory/scoped_vector.h"
12 #include "base/values.h" 11 #include "base/values.h"
13 #import "ios/testing/ocmock_complex_type_helper.h" 12 #import "ios/testing/ocmock_complex_type_helper.h"
14 #include "ios/web/public/test/web_test_util.h" 13 #include "ios/web/public/test/web_test_util.h"
15 #import "ios/web/public/web_state/crw_web_controller_observer.h" 14 #import "ios/web/public/web_state/crw_web_controller_observer.h"
16 #import "ios/web/public/web_state/js/crw_js_injection_manager.h" 15 #import "ios/web/public/web_state/js/crw_js_injection_manager.h"
17 #import "ios/web/public/web_state/js/crw_js_injection_receiver.h" 16 #import "ios/web/public/web_state/js/crw_js_injection_receiver.h"
18 #import "ios/web/test/crw_fake_web_controller_observer.h" 17 #import "ios/web/test/crw_fake_web_controller_observer.h"
19 #include "ios/web/test/web_test.h" 18 #include "ios/web/test/web_test.h"
20 #include "testing/gtest_mac.h" 19 #include "testing/gtest_mac.h"
21 20
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 EXPECT_TRUE( 123 EXPECT_TRUE(
125 [this->fake_web_controller_observer_ commandsReceived][0]->Equals( 124 [this->fake_web_controller_observer_ commandsReceived][0]->Equals(
126 &command)); 125 &command));
127 [this->fake_web_controller_observer_ commandsReceived].clear(); 126 [this->fake_web_controller_observer_ commandsReceived].clear();
128 ASSERT_EQ(0U, 127 ASSERT_EQ(0U,
129 [this->fake_web_controller_observer_ commandsReceived].size()); 128 [this->fake_web_controller_observer_ commandsReceived].size());
130 } 129 }
131 } 130 }
132 131
133 } // namespace 132 } // namespace
OLDNEW
« no previous file with comments | « ios/public/provider/chrome/browser/browser_state/chrome_browser_state_manager.h ('k') | ipc/ipc_message_attachment_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698