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

Unified Diff: chrome/browser/extensions/web_view_browsertest.cc

Issue 11233065: Rename <browser> shim to <webview> (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT. No longer exposed to Extensions Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/browser_tag_browsertest.cc ('k') | chrome/browser_tests.isolate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/web_view_browsertest.cc
diff --git a/chrome/browser/extensions/browser_tag_browsertest.cc b/chrome/browser/extensions/web_view_browsertest.cc
similarity index 88%
rename from chrome/browser/extensions/browser_tag_browsertest.cc
rename to chrome/browser/extensions/web_view_browsertest.cc
index 460cb5b483aa2b3e51d95cbdf9d0ed37b08bb25a..2849cf459cb8c85d61829c686f97156c5f9713bb 100644
--- a/chrome/browser/extensions/browser_tag_browsertest.cc
+++ b/chrome/browser/extensions/web_view_browsertest.cc
@@ -13,7 +13,7 @@
#include "ui/compositor/compositor_setup.h"
#include "ui/gl/gl_switches.h"
-class BrowserTagTest : public extensions::PlatformAppBrowserTest {
+class WebViewTest : public extensions::PlatformAppBrowserTest {
protected:
virtual void SetUpCommandLine(CommandLine* command_line) {
extensions::PlatformAppBrowserTest::SetUpCommandLine(command_line);
@@ -26,16 +26,16 @@ class BrowserTagTest : public extensions::PlatformAppBrowserTest {
}
};
-IN_PROC_BROWSER_TEST_F(BrowserTagTest, Shim) {
- ASSERT_TRUE(RunPlatformAppTest("platform_apps/browser_tag")) << message_;
+IN_PROC_BROWSER_TEST_F(WebViewTest, Shim) {
+ ASSERT_TRUE(RunPlatformAppTest("platform_apps/web_view")) << message_;
}
-IN_PROC_BROWSER_TEST_F(BrowserTagTest, ShimSrcAttribute) {
- ASSERT_TRUE(RunPlatformAppTest("platform_apps/browser_tag_src_attribute"))
+IN_PROC_BROWSER_TEST_F(WebViewTest, ShimSrcAttribute) {
+ ASSERT_TRUE(RunPlatformAppTest("platform_apps/web_view_src_attribute"))
<< message_;
}
-IN_PROC_BROWSER_TEST_F(BrowserTagTest, Isolation) {
+IN_PROC_BROWSER_TEST_F(WebViewTest, Isolation) {
ASSERT_TRUE(StartTestServer());
const std::wstring kExpire =
L"var expire = new Date(Date.now() + 24 * 60 * 60 * 1000);";
@@ -54,10 +54,10 @@ IN_PROC_BROWSER_TEST_F(BrowserTagTest, Isolation) {
"files/extensions/platform_apps/isolation/set_cookie.html");
set_cookie_url = set_cookie_url.ReplaceComponents(replace_host);
GURL tag_url1 = test_server()->GetURL(
- "files/extensions/platform_apps/browser_tag_isolation/cookie.html");
+ "files/extensions/platform_apps/web_view_isolation/cookie.html");
tag_url1 = tag_url1.ReplaceComponents(replace_host);
GURL tag_url2 = test_server()->GetURL(
- "files/extensions/platform_apps/browser_tag_isolation/cookie2.html");
+ "files/extensions/platform_apps/web_view_isolation/cookie2.html");
tag_url2 = tag_url2.ReplaceComponents(replace_host);
// Load a (non-app) page under the "localhost" origin that sets a cookie.
@@ -76,7 +76,7 @@ IN_PROC_BROWSER_TEST_F(BrowserTagTest, Isolation) {
tag_url1, content::NotificationService::AllSources());
ui_test_utils::UrlLoadObserver observer2(
tag_url2, content::NotificationService::AllSources());
- LoadAndLaunchPlatformApp("browser_tag_isolation");
+ LoadAndLaunchPlatformApp("web_view_isolation");
observer1.Wait();
observer2.Wait();
« no previous file with comments | « chrome/browser/extensions/browser_tag_browsertest.cc ('k') | chrome/browser_tests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698