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

Unified Diff: chrome/browser/chromeos/display/quirks_manager_delegate_impl.cc

Issue 2431853002: Remove built-in path check from Quirks (Closed)
Patch Set: Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/display/quirks_manager_delegate_impl.cc
diff --git a/chrome/browser/chromeos/display/quirks_manager_delegate_impl.cc b/chrome/browser/chromeos/display/quirks_manager_delegate_impl.cc
index fd8b81ba26de7c2ae0382a979a6540ce49a9cd87..6cf53b411a8e3248d03956a4d582fb0671678a7d 100644
--- a/chrome/browser/chromeos/display/quirks_manager_delegate_impl.cc
+++ b/chrome/browser/chromeos/display/quirks_manager_delegate_impl.cc
@@ -23,18 +23,9 @@ std::string QuirksManagerDelegateImpl::GetApiKey() const {
return google_apis::GetAPIKey();
}
-base::FilePath QuirksManagerDelegateImpl::GetBuiltInDisplayProfileDirectory()
- const {
- base::FilePath path;
- if (!PathService::Get(chromeos::DIR_DEVICE_COLOR_CALIBRATION_PROFILES, &path))
- LOG(ERROR) << "Could not get system path for display calibration profiles.";
- return path;
-}
-
// On chrome device, returns /var/cache/display_profiles.
// On Linux desktop, returns {DIR_USER_DATA}/display_profiles.
-base::FilePath QuirksManagerDelegateImpl::GetDownloadDisplayProfileDirectory()
- const {
+base::FilePath QuirksManagerDelegateImpl::GetDisplayProfileDirectory() const {
base::FilePath directory;
if (base::SysInfo::IsRunningOnChromeOS()) {
PathService::Get(chromeos::DIR_DEVICE_DISPLAY_PROFILES, &directory);

Powered by Google App Engine
This is Rietveld 408576698