OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/chromeos/file_system_provider/mount_path_util.h" |
| 6 |
5 #include <string> | 7 #include <string> |
6 | 8 |
7 #include "base/files/file.h" | 9 #include "base/files/file.h" |
8 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
9 #include "chrome/browser/chromeos/file_system_provider/fake_provided_file_system
.h" | 11 #include "chrome/browser/chromeos/file_system_provider/fake_provided_file_system
.h" |
10 #include "chrome/browser/chromeos/file_system_provider/mount_path_util.h" | |
11 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" | 12 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" |
12 #include "chrome/browser/chromeos/file_system_provider/service.h" | 13 #include "chrome/browser/chromeos/file_system_provider/service.h" |
13 #include "chrome/browser/chromeos/file_system_provider/service_factory.h" | 14 #include "chrome/browser/chromeos/file_system_provider/service_factory.h" |
14 #include "chrome/browser/chromeos/login/users/fake_user_manager.h" | 15 #include "chrome/browser/chromeos/login/users/fake_user_manager.h" |
15 #include "chrome/browser/profiles/profile.h" | 16 #include "chrome/browser/profiles/profile.h" |
16 #include "chrome/test/base/testing_browser_process.h" | 17 #include "chrome/test/base/testing_browser_process.h" |
17 #include "chrome/test/base/testing_profile.h" | 18 #include "chrome/test/base/testing_profile.h" |
18 #include "chrome/test/base/testing_profile_manager.h" | 19 #include "chrome/test/base/testing_profile_manager.h" |
19 #include "components/keyed_service/core/keyed_service.h" | 20 #include "components/keyed_service/core/keyed_service.h" |
20 #include "content/public/browser/browser_context.h" | 21 #include "content/public/browser/browser_context.h" |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 const base::FilePath kFilePath = | 299 const base::FilePath kFilePath = |
299 base::FilePath::FromUTF8Unsafe("provided/hello/world"); | 300 base::FilePath::FromUTF8Unsafe("provided/hello/world"); |
300 LocalPathParser parser(profile_, kFilePath); | 301 LocalPathParser parser(profile_, kFilePath); |
301 EXPECT_FALSE(parser.Parse()); | 302 EXPECT_FALSE(parser.Parse()); |
302 } | 303 } |
303 } | 304 } |
304 | 305 |
305 } // namespace util | 306 } // namespace util |
306 } // namespace file_system_provider | 307 } // namespace file_system_provider |
307 } // namespace chromeos | 308 } // namespace chromeos |
OLD | NEW |