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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/media_gallery/media_device_notifications_utils.h
diff --git a/chrome/browser/media_gallery/media_device_notifications_utils.h b/chrome/browser/media_gallery/media_device_notifications_utils.h
deleted file mode 100644
index 13f5b0c9619cd800229e3b7f39cb9b947773b7e1..0000000000000000000000000000000000000000
--- a/chrome/browser/media_gallery/media_device_notifications_utils.h
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Common code shared between MediaDeviceNotifications{Win,Linux}.
-
-#ifndef CHROME_BROWSER_MEDIA_GALLERY_MEDIA_DEVICE_NOTIFICATIONS_UTILS_H_
-#define CHROME_BROWSER_MEDIA_GALLERY_MEDIA_DEVICE_NOTIFICATIONS_UTILS_H_
-
-#include "base/file_path.h"
-
-namespace chrome {
-
-// Check if the file system at the passed mount point looks like a media
-// device using the existence of DCIM directory.
-// Returns true, if it is a media device otherwise return false.
-// Mac OS X behaves similarly, but this is not the only heuristic it uses.
-// TODO(vandebo) Try to figure out how Mac OS X decides this.
-bool IsMediaDevice(const FilePath::StringType& mount_point);
-
-} // namespace chrome
-
-#endif // CHROME_BROWSER_MEDIA_GALLERY_MEDIA_DEVICE_NOTIFICATIONS_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698