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

Unified Diff: chrome/browser/custom_home_pages_table_model.cc

Issue 9663044: Don't add devtools to list of startup pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/custom_home_pages_table_model.cc
diff --git a/chrome/browser/custom_home_pages_table_model.cc b/chrome/browser/custom_home_pages_table_model.cc
index 4cd0a2f2ca615ae7abc570fd0dd402d6fbd19b57..860ef67eb9909181ff41ba445ccbba522863606a 100644
--- a/chrome/browser/custom_home_pages_table_model.cc
+++ b/chrome/browser/custom_home_pages_table_model.cc
@@ -159,7 +159,8 @@ void CustomHomePagesTableModel::SetToCurrentlyOpenPages() {
if (!url.is_empty() &&
!(url.SchemeIs(chrome::kChromeUIScheme) &&
(url.host() == chrome::kChromeUISettingsHost ||
- url.host() == chrome::kChromeUIUberHost))) {
+ url.host() == chrome::kChromeUIUberHost)) &&
Evan Stade 2012/03/10 03:11:48 this seems wrong actually, you might want to have
+ !url.SchemeIs(chrome::kChromeDevToolsScheme)) {
Add(add_index++, url);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698