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

Side by Side Diff: chrome/browser/media_gallery/media_device_notifications_utils.h

Issue 10919051: Move device notification impl out of chrome/browser/media_gallery (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: modify for chromeos and win Created 8 years, 3 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // Common code shared between MediaDeviceNotifications{Win,Linux}.
6
7 #ifndef CHROME_BROWSER_MEDIA_GALLERY_MEDIA_DEVICE_NOTIFICATIONS_UTILS_H_
8 #define CHROME_BROWSER_MEDIA_GALLERY_MEDIA_DEVICE_NOTIFICATIONS_UTILS_H_
9
10 #include "base/file_path.h"
11
12 namespace chrome {
13
14 // Check if the file system at the passed mount point looks like a media
15 // device using the existence of DCIM directory.
16 // Returns true, if it is a media device otherwise return false.
17 // Mac OS X behaves similarly, but this is not the only heuristic it uses.
18 // TODO(vandebo) Try to figure out how Mac OS X decides this.
19 bool IsMediaDevice(const FilePath::StringType& mount_point);
20
21 } // namespace chrome
22
23 #endif // CHROME_BROWSER_MEDIA_GALLERY_MEDIA_DEVICE_NOTIFICATIONS_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698