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

Side by Side Diff: chrome/browser/storage_monitor/image_capture_device_manager.mm

Issue 156703006: Cleanup: Remove unneeded browser_thread.h includes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/storage_monitor/image_capture_device_manager.h" 5 #include "chrome/browser/storage_monitor/image_capture_device_manager.h"
6 6
7 #import <ImageCaptureCore/ImageCaptureCore.h> 7 #import <ImageCaptureCore/ImageCaptureCore.h>
8 8
9 #import "chrome/browser/storage_monitor/image_capture_device.h" 9 #import "chrome/browser/storage_monitor/image_capture_device.h"
10 #include "chrome/browser/storage_monitor/storage_info.h" 10 #include "chrome/browser/storage_monitor/storage_info.h"
11 #include "content/public/browser/browser_thread.h"
12 11
13 namespace { 12 namespace {
14 13
15 ImageCaptureDeviceManager* g_image_capture_device_manager = NULL; 14 ImageCaptureDeviceManager* g_image_capture_device_manager = NULL;
16 15
17 } // namespace 16 } // namespace
18 17
19 // This class is the surface for the Mac ICDeviceBrowser ImageCaptureCore API. 18 // This class is the surface for the Mac ICDeviceBrowser ImageCaptureCore API.
20 // Owned by the ChromeBrowserParts and has browser process lifetime. Upon 19 // Owned by the ChromeBrowserParts and has browser process lifetime. Upon
21 // creation, it gets a list of attached media volumes (asynchronously) which 20 // creation, it gets a list of attached media volumes (asynchronously) which
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 ImageCaptureDevice* ImageCaptureDeviceManager::deviceForUUID( 156 ImageCaptureDevice* ImageCaptureDeviceManager::deviceForUUID(
158 const std::string& uuid) { 157 const std::string& uuid) {
159 ImageCaptureDeviceManagerImpl* manager = 158 ImageCaptureDeviceManagerImpl* manager =
160 g_image_capture_device_manager->device_browser_; 159 g_image_capture_device_manager->device_browser_;
161 return [manager deviceForUUID:uuid]; 160 return [manager deviceForUUID:uuid];
162 } 161 }
163 162
164 id<ICDeviceBrowserDelegate> ImageCaptureDeviceManager::device_browser() { 163 id<ICDeviceBrowserDelegate> ImageCaptureDeviceManager::device_browser() {
165 return device_browser_.get(); 164 return device_browser_.get();
166 } 165 }
OLDNEW
« no previous file with comments | « chrome/browser/signin/profile_oauth2_token_service.cc ('k') | chrome/browser/sync/sync_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698