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

Side by Side Diff: chrome/browser/ui/webui/bidi_checker_web_ui_test.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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 (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 "chrome/browser/ui/webui/bidi_checker_web_ui_test.h" 5 #include "chrome/browser/ui/webui/bidi_checker_web_ui_test.h"
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/i18n/rtl.h" 8 #include "base/i18n/rtl.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // Tests 138 // Tests
139 139
140 //============================== 140 //==============================
141 // chrome://settings/history 141 // chrome://settings/history
142 //============================== 142 //==============================
143 143
144 static void SetupHistoryPageTest(Browser* browser, 144 static void SetupHistoryPageTest(Browser* browser,
145 const std::string page_url, 145 const std::string page_url,
146 const std::string page_title) { 146 const std::string page_title) {
147 HistoryService* history_service = HistoryServiceFactory::GetForProfile( 147 HistoryService* history_service = HistoryServiceFactory::GetForProfile(
148 browser->profile(), Profile::IMPLICIT_ACCESS); 148 browser->profile(), Profile::IMPLICIT_ACCESS).get();
149 const GURL history_url = GURL(page_url); 149 const GURL history_url = GURL(page_url);
150 history_service->AddPage( 150 history_service->AddPage(
151 history_url, base::Time::Now(), history::SOURCE_BROWSED); 151 history_url, base::Time::Now(), history::SOURCE_BROWSED);
152 history_service->SetPageTitle(history_url, UTF8ToUTF16(page_title)); 152 history_service->SetPageTitle(history_url, UTF8ToUTF16(page_title));
153 } 153 }
154 154
155 // TODO(estade): fix this test: http://crbug.com/119595 155 // TODO(estade): fix this test: http://crbug.com/119595
156 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestLTR, 156 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestLTR,
157 TestHistoryPage) { 157 TestHistoryPage) {
158 // Test an Israeli news site with a Hebrew title. 158 // Test an Israeli news site with a Hebrew title.
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 // chrome://history-frame 753 // chrome://history-frame
754 //============================== 754 //==============================
755 755
756 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestLTR, TestHistoryFrame) { 756 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestLTR, TestHistoryFrame) {
757 RunBidiCheckerOnPage(chrome::kChromeUIHistoryFrameURL); 757 RunBidiCheckerOnPage(chrome::kChromeUIHistoryFrameURL);
758 } 758 }
759 759
760 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestRTL, TestHistoryFrame) { 760 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestRTL, TestHistoryFrame) {
761 RunBidiCheckerOnPage(chrome::kChromeUIHistoryFrameURL); 761 RunBidiCheckerOnPage(chrome::kChromeUIHistoryFrameURL);
762 } 762 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/website_settings/website_settings.cc ('k') | chrome/browser/ui/webui/chrome_url_data_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698