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

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

Issue 147923005: Split ExtensionSystem interface from ExtensionSystemImpl implementation, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re^3base Created 6 years, 10 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 #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_service.h" 16 #include "chrome/browser/extensions/extension_service.h"
17 #include "chrome/browser/extensions/extension_system.h"
18 #include "chrome/browser/media_galleries/fileapi/picasa_finder.h" 17 #include "chrome/browser/media_galleries/fileapi/picasa_finder.h"
19 #include "chrome/browser/profiles/profile.h" 18 #include "chrome/browser/profiles/profile.h"
20 #include "chrome/common/chrome_paths.h" 19 #include "chrome/common/chrome_paths.h"
21 #include "extensions/browser/extension_prefs.h" 20 #include "extensions/browser/extension_prefs.h"
21 #include "extensions/browser/extension_system.h"
22 #include "extensions/common/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 "components/policy/core/common/preferences_mock_mac.h" 30 #include "components/policy/core/common/preferences_mock_mac.h"
31 #endif // OS_MACOSX 31 #endif // OS_MACOSX
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 194
195 music_override_.reset(new base::ScopedPathOverride( 195 music_override_.reset(new base::ScopedPathOverride(
196 chrome::DIR_USER_MUSIC, fake_dir_.path().AppendASCII("music"))); 196 chrome::DIR_USER_MUSIC, fake_dir_.path().AppendASCII("music")));
197 pictures_override_.reset(new base::ScopedPathOverride( 197 pictures_override_.reset(new base::ScopedPathOverride(
198 chrome::DIR_USER_PICTURES, fake_dir_.path().AppendASCII("pictures"))); 198 chrome::DIR_USER_PICTURES, fake_dir_.path().AppendASCII("pictures")));
199 video_override_.reset(new base::ScopedPathOverride( 199 video_override_.reset(new base::ScopedPathOverride(
200 chrome::DIR_USER_VIDEOS, fake_dir_.path().AppendASCII("videos"))); 200 chrome::DIR_USER_VIDEOS, fake_dir_.path().AppendASCII("videos")));
201 num_galleries_ = 3; 201 num_galleries_ = 3;
202 #endif // OS_CHROMEOS || OS_ANDROID 202 #endif // OS_CHROMEOS || OS_ANDROID
203 } 203 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698