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

Unified Diff: chrome/browser/ui/views/frame/system_menu_model_builder.cc

Issue 2743323005: MD Settings: enhance restarting Chrome + interacting w/ session restore (Closed)
Patch Set: merge Created 3 years, 9 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/ui/views/frame/system_menu_model_builder.cc
diff --git a/chrome/browser/ui/views/frame/system_menu_model_builder.cc b/chrome/browser/ui/views/frame/system_menu_model_builder.cc
index 8c47ad8f45b9288f9d8963af3cbbd0c4600f1d98..1ded1c13b07f4764d0494d21d295a617682b2440 100644
--- a/chrome/browser/ui/views/frame/system_menu_model_builder.cc
+++ b/chrome/browser/ui/views/frame/system_menu_model_builder.cc
@@ -15,6 +15,7 @@
#include "chrome/common/url_constants.h"
#include "chrome/grit/generated_resources.h"
#include "components/strings/grit/components_strings.h"
+#include "content/public/common/url_constants.h"
#include "ui/base/accelerators/accelerator.h"
#include "ui/base/models/simple_menu_model.h"
@@ -38,7 +39,7 @@ bool IsChromeSettingsAppOrPopupWindow(Browser* browser) {
DCHECK_EQ(1, tab_strip->count());
const GURL gurl(tab_strip->GetWebContentsAt(0)->GetURL());
if (gurl.SchemeIs(content::kChromeUIScheme) &&
- gurl.host().find(chrome::kChromeUISettingsHost) != std::string::npos) {
+ gurl.host().find(content::kChromeUISettingsHost) != std::string::npos) {
return true;
}
return false;

Powered by Google App Engine
This is Rietveld 408576698