OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <stddef.h> |
| 6 |
| 7 #include "base/macros.h" |
5 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
6 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
7 #include "chrome/browser/extensions/extension_prefs_unittest.h" | 10 #include "chrome/browser/extensions/extension_prefs_unittest.h" |
8 #include "chrome/browser/extensions/extension_service.h" | 11 #include "chrome/browser/extensions/extension_service.h" |
9 #include "chrome/browser/media_galleries/media_galleries_preferences.h" | 12 #include "chrome/browser/media_galleries/media_galleries_preferences.h" |
10 #include "chrome/browser/media_galleries/media_galleries_test_util.h" | 13 #include "chrome/browser/media_galleries/media_galleries_test_util.h" |
11 #include "chrome/test/base/testing_profile.h" | 14 #include "chrome/test/base/testing_profile.h" |
12 #include "components/storage_monitor/test_storage_monitor.h" | 15 #include "components/storage_monitor/test_storage_monitor.h" |
13 #include "content/public/browser/browser_thread.h" | 16 #include "content/public/browser/browser_thread.h" |
14 #include "content/public/test/test_browser_thread.h" | 17 #include "content/public/test/test_browser_thread.h" |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 151 |
149 // Needed for |gallery_prefs_| to initialize correctly. | 152 // Needed for |gallery_prefs_| to initialize correctly. |
150 EnsureMediaDirectoriesExists ensure_media_directories_exists_; | 153 EnsureMediaDirectoriesExists ensure_media_directories_exists_; |
151 content::TestBrowserThread file_thread_; | 154 content::TestBrowserThread file_thread_; |
152 | 155 |
153 scoped_ptr<TestingProfile> profile_; | 156 scoped_ptr<TestingProfile> profile_; |
154 scoped_ptr<MediaGalleriesPreferences> gallery_prefs_; | 157 scoped_ptr<MediaGalleriesPreferences> gallery_prefs_; |
155 }; | 158 }; |
156 | 159 |
157 TEST_F(MediaGalleriesPermissionsTest, MediaGalleries) {} | 160 TEST_F(MediaGalleriesPermissionsTest, MediaGalleries) {} |
OLD | NEW |