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

Unified Diff: chrome/browser/media_galleries/win/mtp_device_operations_util.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/media_galleries/win/mtp_device_operations_util.cc
diff --git a/chrome/browser/media_galleries/win/mtp_device_operations_util.cc b/chrome/browser/media_galleries/win/mtp_device_operations_util.cc
index 8424183840c88a0abc5a6d0e2acc93674e2fbcda..178eb62744e1d3084fed889cee7d1b8c5855d127 100644
--- a/chrome/browser/media_galleries/win/mtp_device_operations_util.cc
+++ b/chrome/browser/media_galleries/win/mtp_device_operations_util.cc
@@ -109,7 +109,7 @@ bool IsDirectory(IPortableDeviceValues* properties_values) {
base::string16 GetObjectName(IPortableDeviceValues* properties_values,
bool is_directory) {
DCHECK(properties_values);
- base::win::ScopedCoMem<char16> buffer;
+ base::win::ScopedCoMem<base::char16> buffer;
REFPROPERTYKEY key =
is_directory ? WPD_OBJECT_NAME : WPD_OBJECT_ORIGINAL_FILE_NAME;
HRESULT hr = properties_values->GetStringValue(key, &buffer);
@@ -269,7 +269,8 @@ bool GetMTPDeviceObjectEntries(IPortableDevice* device,
const bool get_all_entries = object_name.empty();
for (HRESULT hr = S_OK; hr == S_OK;) {
DWORD num_objects_fetched = 0;
- scoped_ptr<char16*[]> object_ids(new char16*[num_objects_to_request]);
+ scoped_ptr<base::char16*[]> object_ids(
+ new base::char16*[num_objects_to_request]);
hr = enum_object_ids->Next(num_objects_to_request,
object_ids.get(),
&num_objects_fetched);
« no previous file with comments | « chrome/browser/importer/ie_importer_browsertest_win.cc ('k') | chrome/browser/profiles/profile_shortcut_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698