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

Unified Diff: chrome/browser/storage_monitor/portable_device_watcher_win.cc

Issue 113403006: Update some uses of char16 to use the base:: namespace. (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/storage_monitor/portable_device_watcher_win.cc
diff --git a/chrome/browser/storage_monitor/portable_device_watcher_win.cc b/chrome/browser/storage_monitor/portable_device_watcher_win.cc
index bef912d2cc052cba9f6c042a7c9cc2f6f4170526..a206de93dd6a405fcdc3d1b9f9956fbd9b023862 100644
--- a/chrome/browser/storage_monitor/portable_device_watcher_win.cc
+++ b/chrome/browser/storage_monitor/portable_device_watcher_win.cc
@@ -28,7 +28,7 @@
namespace {
// Name of the client application that communicates with the MTP device.
-const char16 kClientName[] = L"Chromium";
+const base::char16 kClientName[] = L"Chromium";
// Name of the sequenced task runner.
const char kMediaTaskRunnerName[] = "media-task-runner";
@@ -195,11 +195,11 @@ bool GetStringPropertyValue(IPortableDeviceValues* properties_values,
base::string16* value) {
DCHECK(properties_values);
DCHECK(value);
- base::win::ScopedCoMem<char16> buffer;
+ base::win::ScopedCoMem<base::char16> buffer;
HRESULT hr = properties_values->GetStringValue(key, &buffer);
if (FAILED(hr))
return false;
- *value = static_cast<const char16*>(buffer);
+ *value = static_cast<const base::char16*>(buffer);
return true;
}
@@ -413,7 +413,8 @@ bool EnumerateAttachedDevicesOnBlockingThread(
if (FAILED(hr))
return false;
- scoped_ptr<char16*[]> pnp_device_ids(new char16*[pnp_device_count]);
+ scoped_ptr<base::char16*[]> pnp_device_ids(
+ new base::char16*[pnp_device_count]);
hr = portable_device_mgr->GetDevices(pnp_device_ids.get(), &pnp_device_count);
if (FAILED(hr))
return false;
« no previous file with comments | « chrome/browser/spellchecker/spellcheck_host_metrics.cc ('k') | chrome/browser/storage_monitor/removable_device_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698