| 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 "storage/browser/test/test_file_system_options.h" |
| 6 |
| 5 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 6 #include "content/public/test/test_file_system_options.h" | |
| 7 | 8 |
| 8 #include <string> | 9 #include <string> |
| 9 #include <vector> | 10 #include <vector> |
| 10 | 11 |
| 11 using storage::FileSystemOptions; | 12 using storage::FileSystemOptions; |
| 12 | 13 |
| 13 namespace content { | 14 namespace content { |
| 14 | 15 |
| 15 FileSystemOptions CreateIncognitoFileSystemOptions() { | 16 FileSystemOptions CreateIncognitoFileSystemOptions() { |
| 16 std::vector<std::string> additional_allowed_schemes; | 17 std::vector<std::string> additional_allowed_schemes; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 37 std::vector<std::string> additional_allowed_schemes; | 38 std::vector<std::string> additional_allowed_schemes; |
| 38 #if defined(OS_CHROMEOS) | 39 #if defined(OS_CHROMEOS) |
| 39 additional_allowed_schemes.push_back("chrome-extension"); | 40 additional_allowed_schemes.push_back("chrome-extension"); |
| 40 #endif | 41 #endif |
| 41 return FileSystemOptions(FileSystemOptions::PROFILE_MODE_NORMAL, | 42 return FileSystemOptions(FileSystemOptions::PROFILE_MODE_NORMAL, |
| 42 additional_allowed_schemes, | 43 additional_allowed_schemes, |
| 43 NULL); | 44 NULL); |
| 44 } | 45 } |
| 45 | 46 |
| 46 } // namespace content | 47 } // namespace content |
| OLD | NEW |