OLD | NEW |
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 #include "chrome/browser/media_galleries/media_galleries_test_util.h" | 5 #include "chrome/browser/media_galleries/media_galleries_test_util.h" |
6 | 6 |
7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
8 #include <windows.h> | 8 #include <windows.h> |
9 #endif | 9 #endif |
10 | 10 |
11 #include "base/base_paths.h" | 11 #include "base/base_paths.h" |
12 #include "base/file_util.h" | 12 #include "base/file_util.h" |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 #include "base/path_service.h" | 14 #include "base/path_service.h" |
15 #include "base/strings/stringprintf.h" | 15 #include "base/strings/stringprintf.h" |
16 #include "chrome/browser/extensions/extension_prefs.h" | 16 #include "chrome/browser/extensions/extension_prefs.h" |
17 #include "chrome/browser/extensions/extension_service.h" | 17 #include "chrome/browser/extensions/extension_service.h" |
18 #include "chrome/browser/extensions/extension_system.h" | 18 #include "chrome/browser/extensions/extension_system.h" |
19 #include "chrome/browser/media_galleries/fileapi/picasa_finder.h" | 19 #include "chrome/browser/media_galleries/fileapi/picasa_finder.h" |
20 #include "chrome/browser/profiles/profile.h" | 20 #include "chrome/browser/profiles/profile.h" |
21 #include "chrome/common/chrome_paths.h" | 21 #include "chrome/common/chrome_paths.h" |
22 #include "chrome/common/extensions/extension.h" | 22 #include "extensions/common/extension.h" |
23 #include "extensions/common/manifest_constants.h" | 23 #include "extensions/common/manifest_constants.h" |
24 #include "testing/gtest/include/gtest/gtest.h" | 24 #include "testing/gtest/include/gtest/gtest.h" |
25 | 25 |
26 #if defined(OS_MACOSX) | 26 #if defined(OS_MACOSX) |
27 #include "base/mac/foundation_util.h" | 27 #include "base/mac/foundation_util.h" |
28 #include "base/strings/sys_string_conversions.h" | 28 #include "base/strings/sys_string_conversions.h" |
29 #include "chrome/browser/media_galleries/fileapi/iapps_finder_impl.h" | 29 #include "chrome/browser/media_galleries/fileapi/iapps_finder_impl.h" |
30 #include "chrome/browser/policy/preferences_mock_mac.h" | 30 #include "chrome/browser/policy/preferences_mock_mac.h" |
31 #endif // OS_MACOSX | 31 #endif // OS_MACOSX |
32 | 32 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 175 |
176 music_override_.reset(new base::ScopedPathOverride( | 176 music_override_.reset(new base::ScopedPathOverride( |
177 chrome::DIR_USER_MUSIC, fake_dir_.path().AppendASCII("music"))); | 177 chrome::DIR_USER_MUSIC, fake_dir_.path().AppendASCII("music"))); |
178 pictures_override_.reset(new base::ScopedPathOverride( | 178 pictures_override_.reset(new base::ScopedPathOverride( |
179 chrome::DIR_USER_PICTURES, fake_dir_.path().AppendASCII("pictures"))); | 179 chrome::DIR_USER_PICTURES, fake_dir_.path().AppendASCII("pictures"))); |
180 video_override_.reset(new base::ScopedPathOverride( | 180 video_override_.reset(new base::ScopedPathOverride( |
181 chrome::DIR_USER_VIDEOS, fake_dir_.path().AppendASCII("videos"))); | 181 chrome::DIR_USER_VIDEOS, fake_dir_.path().AppendASCII("videos"))); |
182 num_galleries_ = 3; | 182 num_galleries_ = 3; |
183 #endif // OS_CHROMEOS || OS_ANDROID | 183 #endif // OS_CHROMEOS || OS_ANDROID |
184 } | 184 } |
OLD | NEW |