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

Unified Diff: chrome/browser/instant/instant_confirm_dialog.cc

Issue 5601003: Localize instant string. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 10 years 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/instant/instant_confirm_dialog.cc
diff --git a/chrome/browser/instant/instant_confirm_dialog.cc b/chrome/browser/instant/instant_confirm_dialog.cc
index efaa1c36845169f0f8b3b5ecd20a1a702573d796..e56a8228227bdb8403d5b85abc675dcea3e46d5c 100644
--- a/chrome/browser/instant/instant_confirm_dialog.cc
+++ b/chrome/browser/instant/instant_confirm_dialog.cc
@@ -4,16 +4,20 @@
#include "chrome/browser/instant/instant_confirm_dialog.h"
+#include "app/l10n_util.h"
#include "chrome/browser/instant/instant_controller.h"
#include "chrome/browser/instant/promo_counter.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/pref_names.h"
+#include "googleurl/src/gurl.h"
+#include "grit/generated_resources.h"
namespace browser {
-const char kInstantLearnMoreURL[] =
- "http://www.google.com/support/chrome/bin/answer.py?answer=180655";
+GURL InstantLearnMoreURL() {
+ return GURL(l10n_util::GetStringUTF8(IDS_INSTANT_LEARN_MORE_URL));
+}
void ShowInstantConfirmDialogIfNecessary(gfx::NativeWindow parent,
Profile* profile) {
« no previous file with comments | « chrome/browser/instant/instant_confirm_dialog.h ('k') | chrome/browser/ui/cocoa/instant_confirm_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698