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

Side by Side Diff: chrome/common/chrome_paths_android.cc

Issue 10392094: Add PathService::Get(chrome::DIR_USER_PICTURES). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: merge Created 8 years, 7 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
« no previous file with comments | « chrome/common/chrome_paths.cc ('k') | chrome/common/chrome_paths_internal.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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
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();
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
OLDNEW
« no previous file with comments | « chrome/common/chrome_paths.cc ('k') | chrome/common/chrome_paths_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698