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

Unified Diff: chrome/browser/extensions/dev_mode_bubble_controller.cc

Issue 108813011: Add base:: namespace to string16 in chrome/browser/extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/extensions/dev_mode_bubble_controller.cc
diff --git a/chrome/browser/extensions/dev_mode_bubble_controller.cc b/chrome/browser/extensions/dev_mode_bubble_controller.cc
index e96e3d353e653e6b611f4da895307a9cda282e54..885e62930333ec14cab8d7e31db9ff64b8c7551d 100644
--- a/chrome/browser/extensions/dev_mode_bubble_controller.cc
+++ b/chrome/browser/extensions/dev_mode_bubble_controller.cc
@@ -89,22 +89,22 @@ void DevModeBubbleController::PerformAction(
service_->DisableExtension(list[i], Extension::DISABLE_USER_ACTION);
}
-string16 DevModeBubbleController::GetTitle() const {
+base::string16 DevModeBubbleController::GetTitle() const {
return l10n_util::GetStringUTF16(IDS_EXTENSIONS_DISABLE_DEVELOPER_MODE_TITLE);
}
-string16 DevModeBubbleController::GetMessageBody() const {
+base::string16 DevModeBubbleController::GetMessageBody() const {
return l10n_util::GetStringUTF16(IDS_EXTENSIONS_DISABLE_DEVELOPER_MODE_BODY);
}
-string16 DevModeBubbleController::GetOverflowText(
- const string16& overflow_count) const {
+base::string16 DevModeBubbleController::GetOverflowText(
+ const base::string16& overflow_count) const {
return l10n_util::GetStringFUTF16(
IDS_EXTENSIONS_SUSPICIOUS_DISABLED_AND_N_MORE,
overflow_count);
}
-string16 DevModeBubbleController::GetLearnMoreLabel() const {
+base::string16 DevModeBubbleController::GetLearnMoreLabel() const {
return l10n_util::GetStringUTF16(IDS_LEARN_MORE);
}
@@ -112,11 +112,11 @@ GURL DevModeBubbleController::GetLearnMoreUrl() const {
return GURL(chrome::kChromeUIExtensionsURL);
}
-string16 DevModeBubbleController::GetActionButtonLabel() const {
+base::string16 DevModeBubbleController::GetActionButtonLabel() const {
return l10n_util::GetStringUTF16(IDS_DISABLE);
}
-string16 DevModeBubbleController::GetDismissButtonLabel() const {
+base::string16 DevModeBubbleController::GetDismissButtonLabel() const {
return l10n_util::GetStringUTF16(IDS_CANCEL);
}
@@ -124,7 +124,7 @@ bool DevModeBubbleController::ShouldShowExtensionList() const {
return false;
}
-std::vector<string16> DevModeBubbleController::GetExtensions() {
+std::vector<base::string16> DevModeBubbleController::GetExtensions() {
return GetExtensionList();
}

Powered by Google App Engine
This is Rietveld 408576698