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

Unified Diff: chrome/renderer/chrome_content_renderer_client.cc

Issue 105493002: Use base namespace for string16 in chrome/renderer. (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
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.h ('k') | chrome/renderer/chrome_render_view_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_content_renderer_client.cc
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc
index 26c2e49cafc20624f400c09a007cc65804f933ef..fad210d3ec3862170aae80fef5ca78fa10810454 100644
--- a/chrome/renderer/chrome_content_renderer_client.cc
+++ b/chrome/renderer/chrome_content_renderer_client.cc
@@ -141,8 +141,8 @@ const char kAdViewTagName[] = "ADVIEW";
ChromeContentRendererClient* g_current_client;
-static void AppendParams(const std::vector<string16>& additional_names,
- const std::vector<string16>& additional_values,
+static void AppendParams(const std::vector<base::string16>& additional_names,
+ const std::vector<base::string16>& additional_values,
WebVector<WebString>* existing_names,
WebVector<WebString>* existing_values) {
DCHECK(additional_names.size() == additional_values.size());
@@ -485,7 +485,7 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
const ChromeViewHostMsg_GetPluginInfo_Status& status = output.status;
const WebPluginInfo& plugin = output.plugin;
const std::string& actual_mime_type = output.actual_mime_type;
- const string16& group_name = output.group_name;
+ const base::string16& group_name = output.group_name;
const std::string& identifier = output.group_identifier;
ChromeViewHostMsg_GetPluginInfo_Status::Value status_value = status.value;
GURL url(original_params.url);
@@ -787,7 +787,7 @@ GURL ChromeContentRendererClient::GetNaClContentHandlerURL(
const content::WebPluginInfo& plugin) {
// Look for the manifest URL among the MIME type's additonal parameters.
const char* kNaClPluginManifestAttribute = "nacl";
- string16 nacl_attr = ASCIIToUTF16(kNaClPluginManifestAttribute);
+ base::string16 nacl_attr = ASCIIToUTF16(kNaClPluginManifestAttribute);
for (size_t i = 0; i < plugin.mime_types.size(); ++i) {
if (plugin.mime_types[i].mime_type == actual_mime_type) {
const content::WebPluginMimeType& content_type = plugin.mime_types[i];
@@ -869,8 +869,8 @@ bool ChromeContentRendererClient::IsNaClAllowed(
if ((!is_whitelisted_app && !is_extension_from_webstore) ||
app_can_use_dev_interfaces) {
// Add the special '@dev' attribute.
- std::vector<string16> param_names;
- std::vector<string16> param_values;
+ std::vector<base::string16> param_names;
+ std::vector<base::string16> param_values;
param_names.push_back(dev_attribute);
param_values.push_back(WebString());
AppendParams(
@@ -913,7 +913,7 @@ void ChromeContentRendererClient::GetNavigationErrorStrings(
const blink::WebURLError& error,
const std::string& accept_languages,
std::string* error_html,
- string16* error_description) {
+ base::string16* error_description) {
const GURL failed_url = error.unreachableURL;
const Extension* extension = NULL;
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.h ('k') | chrome/renderer/chrome_render_view_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698