diff options
author | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-07 12:01:37 +0000 |
---|---|---|
committer | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-07 12:01:37 +0000 |
commit | 73490509238bccffa9c32c4afbf102233a37a205 (patch) | |
tree | ef2b482521a79e81c3d55c4ad4937691ae5f13cc | |
parent | 7fd94ade101b26e2c6853d87eac5f3cca503d4a6 (diff) | |
download | chromium_src-73490509238bccffa9c32c4afbf102233a37a205.zip chromium_src-73490509238bccffa9c32c4afbf102233a37a205.tar.gz chromium_src-73490509238bccffa9c32c4afbf102233a37a205.tar.bz2 |
[Media Gallery]Cleanup: Rename MTP_device_host to mtp_device_host.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/11368116
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166384 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/media_gallery/media_file_system_registry.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/chrome/browser/media_gallery/media_file_system_registry.cc b/chrome/browser/media_gallery/media_file_system_registry.cc index d141caa..c97943d 100644 --- a/chrome/browser/media_gallery/media_file_system_registry.cc +++ b/chrome/browser/media_gallery/media_file_system_registry.cc @@ -240,10 +240,10 @@ class ExtensionGalleriesHost pref_id_map_.erase(gallery); #if defined(SUPPORT_MTP_DEVICE_FILESYSTEM) - MediaDeviceEntryReferencesMap::iterator MTP_device_host = + MediaDeviceEntryReferencesMap::iterator mtp_device_host = media_device_map_references_.find(id); - if (MTP_device_host != media_device_map_references_.end()) - media_device_map_references_.erase(MTP_device_host); + if (mtp_device_host != media_device_map_references_.end()) + media_device_map_references_.erase(mtp_device_host); #endif } @@ -358,11 +358,11 @@ class ExtensionGalleriesHost device_id, path); } else { #if defined(SUPPORT_MTP_DEVICE_FILESYSTEM) - scoped_refptr<ScopedMTPDeviceMapEntry> MTP_device_host; + scoped_refptr<ScopedMTPDeviceMapEntry> mtp_device_host; fsid = file_system_context_->RegisterFileSystemForMTPDevice( - device_id, path, &MTP_device_host); - DCHECK(MTP_device_host.get()); - media_device_map_references_[pref_id] = MTP_device_host; + device_id, path, &mtp_device_host); + DCHECK(mtp_device_host.get()); + media_device_map_references_[pref_id] = mtp_device_host; #else NOTIMPLEMENTED(); continue; @@ -719,12 +719,12 @@ MediaFileSystemRegistry::GetOrCreateScopedMTPDeviceMapEntry( mtp_delegate_map_.find(device_location); if (delegate_it != mtp_delegate_map_.end() && delegate_it->second.get()) return delegate_it->second; - ScopedMTPDeviceMapEntry* MTP_device_host = new ScopedMTPDeviceMapEntry( + ScopedMTPDeviceMapEntry* mtp_device_host = new ScopedMTPDeviceMapEntry( device_location, base::Bind( &MediaFileSystemRegistry::RemoveScopedMTPDeviceMapEntry, base::Unretained(this), device_location)); - mtp_delegate_map_[device_location] = MTP_device_host->AsWeakPtr(); - return MTP_device_host; + mtp_delegate_map_[device_location] = mtp_device_host->AsWeakPtr(); + return mtp_device_host; } void MediaFileSystemRegistry::RemoveScopedMTPDeviceMapEntry( |