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

Side by Side Diff: chrome/browser/storage_monitor/image_capture_device.h

Issue 15906011: Use a direct include of strings headers in chrome/browser/r*-s*/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 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 #ifndef CHROME_BROWSER_STORAGE_MONITOR_IMAGE_CAPTURE_DEVICE_H_ 5 #ifndef CHROME_BROWSER_STORAGE_MONITOR_IMAGE_CAPTURE_DEVICE_H_
6 #define CHROME_BROWSER_STORAGE_MONITOR_IMAGE_CAPTURE_DEVICE_H_ 6 #define CHROME_BROWSER_STORAGE_MONITOR_IMAGE_CAPTURE_DEVICE_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 #import <ImageCaptureCore/ImageCaptureCore.h> 9 #import <ImageCaptureCore/ImageCaptureCore.h>
10 10
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/mac/cocoa_protocols.h" 12 #include "base/mac/cocoa_protocols.h"
13 #include "base/mac/foundation_util.h" 13 #include "base/mac/foundation_util.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_nsobject.h" 15 #include "base/memory/scoped_nsobject.h"
16 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
17 #include "base/platform_file.h" 17 #include "base/platform_file.h"
18 #include "base/string_util.h" 18 #include "base/strings/string_util.h"
19 #include "base/strings/sys_string_conversions.h" 19 #include "base/strings/sys_string_conversions.h"
20 #include "base/synchronization/lock.h" 20 #include "base/synchronization/lock.h"
21 21
22 // Clients use this listener interface to get notifications about 22 // Clients use this listener interface to get notifications about
23 // events happening as a particular ImageCapture device is interacted with. 23 // events happening as a particular ImageCapture device is interacted with.
24 // Clients drive the interaction through the ImageCaptureDeviceManager 24 // Clients drive the interaction through the ImageCaptureDeviceManager
25 // and the ImageCaptureDevice classes, and get notifications of 25 // and the ImageCaptureDevice classes, and get notifications of
26 // events through this interface. 26 // events through this interface.
27 class ImageCaptureDeviceListener { 27 class ImageCaptureDeviceListener {
28 public: 28 public:
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 // Download the given file |name| to the provided |local_path|. Completion 71 // Download the given file |name| to the provided |local_path|. Completion
72 // notice will be sent to the listener's DownloadedFile method. The name 72 // notice will be sent to the listener's DownloadedFile method. The name
73 // should be of the same form as those sent to the listener's ItemAdded method. 73 // should be of the same form as those sent to the listener's ItemAdded method.
74 - (void)downloadFile:(const std::string&)name 74 - (void)downloadFile:(const std::string&)name
75 localPath:(const base::FilePath&)localPath; 75 localPath:(const base::FilePath&)localPath;
76 76
77 @end 77 @end
78 78
79 #endif // CHROME_BROWSER_STORAGE_MONITOR_IMAGE_CAPTURE_DEVICE_H_ 79 #endif // CHROME_BROWSER_STORAGE_MONITOR_IMAGE_CAPTURE_DEVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/status_icons/status_tray_unittest.cc ('k') | chrome/browser/storage_monitor/media_storage_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698