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

Unified Diff: chrome/browser/chromeos/file_manager/path_util.cc

Issue 2582143002: chromeos: Move removable media path constant to header. (Closed)
Patch Set: Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/file_manager/path_util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/file_manager/path_util.cc
diff --git a/chrome/browser/chromeos/file_manager/path_util.cc b/chrome/browser/chromeos/file_manager/path_util.cc
index a520d9a7db76859105e8a80adc20e10598554625..43ed2ba34f2f06c9f128be10337092084fdb12ea 100644
--- a/chrome/browser/chromeos/file_manager/path_util.cc
+++ b/chrome/browser/chromeos/file_manager/path_util.cc
@@ -4,7 +4,6 @@
#include "chrome/browser/chromeos/file_manager/path_util.h"
-#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/sys_info.h"
#include "chrome/browser/chromeos/profiles/profile_helper.h"
@@ -27,13 +26,14 @@ const char kDownloadsFolderName[] = "Downloads";
constexpr base::FilePath::CharType kArcDownloadPath[] =
FILE_PATH_LITERAL("/sdcard/Download");
-constexpr base::FilePath::CharType kRemovableMediaPath[] =
- FILE_PATH_LITERAL("/media/removable");
constexpr char kArcRemovableMediaProviderUrl[] =
"content://org.chromium.arc.removablemediaprovider/";
} // namespace
+const base::FilePath::CharType kRemovableMediaPath[] =
+ FILE_PATH_LITERAL("/media/removable");
+
base::FilePath GetDownloadsFolderForProfile(Profile* profile) {
// On non-ChromeOS system (test+development), the primary profile uses
// $HOME/Downloads for ease for accessing local files for debugging.
« no previous file with comments | « chrome/browser/chromeos/file_manager/path_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698