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

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

Issue 5545004: Merge 68398 - Localize instant string.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/597/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
« no previous file with comments | « chrome/browser/instant/instant_confirm_dialog.h ('k') | chrome/browser/ui/views/instant_confirm_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_confirm_dialog.cc
===================================================================
--- chrome/browser/instant/instant_confirm_dialog.cc (revision 68407)
+++ chrome/browser/instant/instant_confirm_dialog.cc (working copy)
@@ -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/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/views/instant_confirm_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698