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

Unified Diff: chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac_unittest.mm

Issue 27094003: Remove fileapi::FileSystemFileUtil dependency in media gallery code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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/mac/mtp_device_delegate_impl_mac_unittest.mm
diff --git a/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac_unittest.mm b/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac_unittest.mm
index bdab3237becf36160fb47d19121ed849d3074483..7dbe1163714a217ceaec655c9235474e40629e77 100644
--- a/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac_unittest.mm
+++ b/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac_unittest.mm
@@ -22,7 +22,6 @@
#include "content/public/browser/browser_thread.h"
#include "content/public/test/test_browser_thread.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "webkit/browser/fileapi/file_system_file_util.h"
#if !defined(MAC_OS_X_VERSION_10_7) || \
MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7
@@ -161,16 +160,6 @@ const char kTestFileContents[] = "test";
@end
-// Advances the enumerator. When the method returns, signals the waiting
-// event.
-void EnumerateAndSignal(
- fileapi::FileSystemFileUtil::AbstractFileEnumerator* enumerator,
- base::WaitableEvent* event,
- base::FilePath* path) {
- *path = enumerator->Next();
- event->Signal();
-}
-
class MTPDeviceDelegateImplMacTest : public testing::Test {
public:
MTPDeviceDelegateImplMacTest() : camera_(NULL), delegate_(NULL) {}

Powered by Google App Engine
This is Rietveld 408576698