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

Side by Side Diff: chrome_frame/test/navigation_test.cc

Issue 12211108: Rename FilePath -> base::FilePath in various toplevel directories (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
« no previous file with comments | « chrome_frame/test/mock_ie_event_sink_test.cc ('k') | chrome_frame/test/net/fake_external_tab.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 6
7 #include "base/test/test_file_util.h" 7 #include "base/test/test_file_util.h"
8 #include "base/win/scoped_comptr.h" 8 #include "base/win/scoped_comptr.h"
9 #include "base/win/windows_version.h" 9 #include "base/win/windows_version.h"
10 #include "chrome_frame/test/chrome_frame_test_utils.h" 10 #include "chrome_frame/test/chrome_frame_test_utils.h"
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 EXPECT_CALL(download_window_mock, OnFileDownload(_, _)) 828 EXPECT_CALL(download_window_mock, OnFileDownload(_, _))
829 .Times(testing::AnyNumber()); 829 .Times(testing::AnyNumber());
830 EXPECT_CALL(download_window_mock, OnLoadError(StrEq(tgt_url))) 830 EXPECT_CALL(download_window_mock, OnLoadError(StrEq(tgt_url)))
831 .Times(testing::AtMost(1)); 831 .Times(testing::AtMost(1));
832 EXPECT_CALL(download_window_mock, OnBeforeNavigate2(_, 832 EXPECT_CALL(download_window_mock, OnBeforeNavigate2(_,
833 testing::Field(&VARIANT::bstrVal, 833 testing::Field(&VARIANT::bstrVal,
834 StrEq(tgt_url)), _, _, _, _, _)); 834 StrEq(tgt_url)), _, _, _, _, _));
835 EXPECT_CALL(download_window_mock, OnLoad(false, _)); 835 EXPECT_CALL(download_window_mock, OnLoad(false, _));
836 EXPECT_CALL(download_window_mock, OnQuit()).Times(testing::AtMost(1)); 836 EXPECT_CALL(download_window_mock, OnQuit()).Times(testing::AtMost(1));
837 837
838 FilePath temp_file_path; 838 base::FilePath temp_file_path;
839 ASSERT_TRUE(file_util::CreateTemporaryFile(&temp_file_path)); 839 ASSERT_TRUE(file_util::CreateTemporaryFile(&temp_file_path));
840 file_util::DieFileDie(temp_file_path, false); 840 file_util::DieFileDie(temp_file_path, false);
841 841
842 temp_file_path = temp_file_path.ReplaceExtension(L"txt"); 842 temp_file_path = temp_file_path.ReplaceExtension(L"txt");
843 file_util::DieFileDie(temp_file_path, false); 843 file_util::DieFileDie(temp_file_path, false);
844 844
845 AccObjectMatcher file_name_box(L"File name:", L"editable text"); 845 AccObjectMatcher file_name_box(L"File name:", L"editable text");
846 846
847 HWND owner_window = NULL; 847 HWND owner_window = NULL;
848 848
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
1281 .WillOnce(CloseBrowserMock( 1281 .WillOnce(CloseBrowserMock(
1282 &no_referrer_target_opener_window_mock)); 1282 &no_referrer_target_opener_window_mock));
1283 1283
1284 EXPECT_CALL(no_referrer_target_opener_window_mock, OnQuit()) 1284 EXPECT_CALL(no_referrer_target_opener_window_mock, OnQuit())
1285 .WillOnce(CloseBrowserMock(&ie_mock_)); 1285 .WillOnce(CloseBrowserMock(&ie_mock_));
1286 1286
1287 LaunchIENavigateAndLoop(initial_url, kChromeFrameVeryLongNavigationTimeout); 1287 LaunchIENavigateAndLoop(initial_url, kChromeFrameVeryLongNavigationTimeout);
1288 } 1288 }
1289 1289
1290 } // namespace chrome_frame_test 1290 } // namespace chrome_frame_test
OLDNEW
« no previous file with comments | « chrome_frame/test/mock_ie_event_sink_test.cc ('k') | chrome_frame/test/net/fake_external_tab.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698