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

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

Issue 515563003: Remove dependency of chrome in WebRequestPermissions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move KWebStoreAppId to extensions. Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_install_ui_browsertest.cc
diff --git a/chrome/browser/extensions/extension_install_ui_browsertest.cc b/chrome/browser/extensions/extension_install_ui_browsertest.cc
index 46629f74c73cb96516ef782bd3eb4d6fbcdc6db1..7789470405708878b09f239c18b31f97a726a6bf 100644
--- a/chrome/browser/extensions/extension_install_ui_browsertest.cc
+++ b/chrome/browser/extensions/extension_install_ui_browsertest.cc
@@ -28,6 +28,7 @@
#include "content/public/test/browser_test_utils.h"
#include "extensions/browser/app_sorting.h"
#include "extensions/browser/extension_prefs.h"
+#include "extensions/common/constants.h"
using content::WebContents;
using extensions::AppSorting;
@@ -227,7 +228,7 @@ IN_PROC_BROWSER_TEST_F(NewTabUISortingBrowserTest,
const std::string app_id = crx_file::id_util::GenerateIdForPath(app_dir);
const extensions::Extension* webstore_extension =
- service->GetInstalledExtension(extension_misc::kWebStoreAppId);
+ service->GetInstalledExtension(extensions::kWebStoreAppId);
EXPECT_TRUE(webstore_extension);
AppSorting* sorting =
extensions::ExtensionPrefs::Get(browser()->profile())->app_sorting();
@@ -242,7 +243,7 @@ IN_PROC_BROWSER_TEST_F(NewTabUISortingBrowserTest,
EXPECT_FALSE(service->GetInstalledExtension(app_id));
// Move the test app from the end to be before the web store.
sorting->OnExtensionMoved(
- app_id, std::string(), extension_misc::kWebStoreAppId);
+ app_id, std::string(), extensions::kWebStoreAppId);
EXPECT_EQ(app_id, last_reordered_extension_id_);
// Now install the app.

Powered by Google App Engine
This is Rietveld 408576698