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/common/chrome_paths_internal.h" | 5 #include "chrome/common/chrome_paths_internal.h" |
6 | 6 |
7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... | |
26 return true; | 26 return true; |
27 } | 27 } |
28 | 28 |
29 bool GetUserDownloadsDirectory(FilePath* result) { | 29 bool GetUserDownloadsDirectory(FilePath* result) { |
30 if (!GetDefaultUserDataDirectory(result)) | 30 if (!GetDefaultUserDataDirectory(result)) |
31 return false; | 31 return false; |
32 *result = result->Append("Downloads"); | 32 *result = result->Append("Downloads"); |
33 return true; | 33 return true; |
34 } | 34 } |
35 | 35 |
36 bool GetUserPicturesDirectory(FilePath* result) { | |
37 NOTIMPLEMENTED(); | |
Lei Zhang
2012/05/14 23:25:51
We could also just do what GetUserDownloadsDirecto
| |
38 return false; | |
39 } | |
40 | |
36 bool GetUserDesktop(FilePath* result) { | 41 bool GetUserDesktop(FilePath* result) { |
37 NOTIMPLEMENTED() << "Android doesn't support GetUserDesktop"; | 42 NOTIMPLEMENTED() << "Android doesn't support GetUserDesktop"; |
38 return false; | 43 return false; |
39 } | 44 } |
40 | 45 |
41 } // namespace chrome | 46 } // namespace chrome |
OLD | NEW |