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

Unified Diff: chrome/browser/history/url_database.cc

Issue 193092: Replace a bunch of hardcoded URLs with constants from url_constants.h... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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/gtk/view_id_util_browsertest.cc ('k') | chrome/browser/login_prompt_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/url_database.cc
===================================================================
--- chrome/browser/history/url_database.cc (revision 26082)
+++ chrome/browser/history/url_database.cc (working copy)
@@ -10,6 +10,7 @@
#include "app/l10n_util.h"
#include "base/string_util.h"
#include "chrome/common/sqlite_utils.h"
+#include "chrome/common/url_constants.h"
#include "googleurl/src/gurl.h"
using base::Time;
@@ -408,7 +409,7 @@
bool URLDatabase::MigrateFromVersion11ToVersion12() {
URLRow about_row;
- if (GetRowForURL(GURL("about:blank"), &about_row)) {
+ if (GetRowForURL(GURL(chrome::kAboutBlankURL), &about_row)) {
about_row.set_favicon_id(0);
return UpdateURLRow(about_row.id(), about_row);
}
« no previous file with comments | « chrome/browser/gtk/view_id_util_browsertest.cc ('k') | chrome/browser/login_prompt_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698