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

Unified Diff: chrome/browser/web_applications/web_app_unittest.cc

Issue 568823003: Merge Android RetrieveWebappInformation and Extensions GetApplicationInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@manifest_manager_content
Patch Set: Created 6 years, 3 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/tab_helper.cc ('k') | chrome/chrome_renderer.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/web_applications/web_app_unittest.cc
diff --git a/chrome/browser/web_applications/web_app_unittest.cc b/chrome/browser/web_applications/web_app_unittest.cc
index 5bc608d58653290b4e9e151cfdf96ddd0919e843..54299dd3ebd6d403b3b6258ca12a6a7dbd1e30c0 100644
--- a/chrome/browser/web_applications/web_app_unittest.cc
+++ b/chrome/browser/web_applications/web_app_unittest.cc
@@ -8,7 +8,7 @@
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/web_applications/web_app.h"
-#include "chrome/common/extensions/chrome_extension_messages.h"
+#include "chrome/common/render_messages.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "content/public/test/test_renderer_host.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -42,7 +42,7 @@ TEST_F(WebApplicationTest, GetShortcutInfoForTab) {
web_app_info.app_url = url;
RenderViewHostTester::TestOnMessageReceived(
- rvh(), ChromeExtensionHostMsg_DidGetApplicationInfo(0, web_app_info));
+ rvh(), ChromeViewHostMsg_DidGetWebApplicationInfo(0, web_app_info));
web_app::ShortcutInfo info;
web_app::GetShortcutInfoForTab(web_contents(), &info);
@@ -52,6 +52,7 @@ TEST_F(WebApplicationTest, GetShortcutInfoForTab) {
}
#endif
+#if defined(ENABLE_EXTENSIONS)
TEST_F(WebApplicationTest, AppDirWithId) {
base::FilePath profile_path(FILE_PATH_LITERAL("profile"));
base::FilePath result(
@@ -69,3 +70,4 @@ TEST_F(WebApplicationTest, AppDirWithUrl) {
.AppendASCII("example.com").AppendASCII("http_80");
EXPECT_EQ(expected, result);
}
+#endif // ENABLE_EXTENSIONS
« no previous file with comments | « chrome/browser/extensions/tab_helper.cc ('k') | chrome/chrome_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698