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

Unified Diff: chrome/browser/media_galleries/fileapi/itunes_finder_mac.mm

Issue 17593006: mac: Update clients of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwyu, scoped_nsprotocol Created 7 years, 6 months 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/fileapi/itunes_finder_mac.mm
diff --git a/chrome/browser/media_galleries/fileapi/itunes_finder_mac.mm b/chrome/browser/media_galleries/fileapi/itunes_finder_mac.mm
index 79846acc9d6228e8279c4a267e0345b050333b8e..fb9fb4e15716c5830f2fe5c5b926545728ae8195 100644
--- a/chrome/browser/media_galleries/fileapi/itunes_finder_mac.mm
+++ b/chrome/browser/media_galleries/fileapi/itunes_finder_mac.mm
@@ -7,7 +7,7 @@
#include "base/file_util.h"
#include "base/logging.h"
#import "base/mac/foundation_util.h"
-#import "base/memory/scoped_nsobject.h"
+#import "base/mac/scoped_nsobject.h"
#include "base/strings/sys_string_conversions.h"
#include "base/time.h"
#include "content/public/browser/browser_thread.h"
@@ -28,8 +28,8 @@ void ITunesFinderMac::FindITunesLibraryOnFileThread() {
CFStringRef iapp_id = CFSTR("com.apple.iApps");
CFStringRef itunes_db_key = CFSTR("iTunesRecentDatabasePaths");
- scoped_nsobject<NSArray> plist(CFToNSCast(CFCast<CFArrayRef>(
- CFPreferencesCopyAppValue(itunes_db_key, iapp_id))));
+ base::scoped_nsobject<NSArray> plist(CFToNSCast(
+ CFCast<CFArrayRef>(CFPreferencesCopyAppValue(itunes_db_key, iapp_id))));
if (!plist) {
PostResultToUIThread(std::string());
return;

Powered by Google App Engine
This is Rietveld 408576698