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

Side by Side Diff: chrome/browser/media_galleries/media_file_system_registry_unittest.cc

Issue 16561007: Use a direct include of utf_string_conversions.h in chrome/browser/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 // MediaFileSystemRegistry unit tests. 5 // MediaFileSystemRegistry unit tests.
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <set> 8 #include <set>
9 9
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/files/scoped_temp_dir.h" 13 #include "base/files/scoped_temp_dir.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/memory/scoped_vector.h" 16 #include "base/memory/scoped_vector.h"
17 #include "base/message_loop.h" 17 #include "base/message_loop.h"
18 #include "base/run_loop.h" 18 #include "base/run_loop.h"
19 #include "base/stl_util.h" 19 #include "base/stl_util.h"
20 #include "base/stringprintf.h" 20 #include "base/stringprintf.h"
21 #include "base/strings/utf_string_conversions.h"
21 #include "base/threading/sequenced_worker_pool.h" 22 #include "base/threading/sequenced_worker_pool.h"
22 #include "base/utf_string_conversions.h"
23 #include "base/values.h" 23 #include "base/values.h"
24 #include "chrome/browser/extensions/extension_service.h" 24 #include "chrome/browser/extensions/extension_service.h"
25 #include "chrome/browser/extensions/extension_system.h" 25 #include "chrome/browser/extensions/extension_system.h"
26 #include "chrome/browser/extensions/test_extension_system.h" 26 #include "chrome/browser/extensions/test_extension_system.h"
27 #include "chrome/browser/media_galleries/media_file_system_context.h" 27 #include "chrome/browser/media_galleries/media_file_system_context.h"
28 #include "chrome/browser/media_galleries/media_file_system_registry.h" 28 #include "chrome/browser/media_galleries/media_file_system_registry.h"
29 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" 29 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h"
30 #include "chrome/browser/media_galleries/media_galleries_test_util.h" 30 #include "chrome/browser/media_galleries/media_galleries_test_util.h"
31 #include "chrome/browser/storage_monitor/removable_device_constants.h" 31 #include "chrome/browser/storage_monitor/removable_device_constants.h"
32 #include "chrome/browser/storage_monitor/storage_info.h" 32 #include "chrome/browser/storage_monitor/storage_info.h"
(...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 pref_info_with_relpath.device_id = device_id; 985 pref_info_with_relpath.device_id = device_id;
986 EXPECT_EQ(dcim_dir().Append(pref_info_with_relpath.path).value(), 986 EXPECT_EQ(dcim_dir().Append(pref_info_with_relpath.path).value(),
987 pref_info_with_relpath.AbsolutePath().value()); 987 pref_info_with_relpath.AbsolutePath().value());
988 988
989 DetachDevice(device_id); 989 DetachDevice(device_id);
990 EXPECT_TRUE(pref_info.AbsolutePath().empty()); 990 EXPECT_TRUE(pref_info.AbsolutePath().empty());
991 EXPECT_TRUE(pref_info_with_relpath.AbsolutePath().empty()); 991 EXPECT_TRUE(pref_info_with_relpath.AbsolutePath().empty());
992 } 992 }
993 993
994 } // namespace chrome 994 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698