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

Unified Diff: chrome/browser/chromeos/display/quirks_browsertest.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_browsertest.cc
diff --git a/chrome/browser/chromeos/display/quirks_browsertest.cc b/chrome/browser/chromeos/display/quirks_browsertest.cc
index ed64aaabc69636f4bf22f346e234b8a63dc2d1aa..67755d6c9b5cd02ecb38cea9d65df40567bd72f5 100644
--- a/chrome/browser/chromeos/display/quirks_browsertest.cc
+++ b/chrome/browser/chromeos/display/quirks_browsertest.cc
@@ -40,10 +40,8 @@ std::unique_ptr<net::URLFetcher> CreateFakeURLFetcherFailure(
// Full path to fake icc file in <tmp test directory>/display_profiles/.
base::FilePath GetPathForIccFile(int64_t product_id) {
- return QuirksManager::Get()
- ->delegate()
- ->GetDownloadDisplayProfileDirectory()
- .Append(quirks::IdToFileName(product_id));
+ return QuirksManager::Get()->delegate()->GetDisplayProfileDirectory().Append(
+ quirks::IdToFileName(product_id));
}
} // namespace
@@ -87,7 +85,7 @@ class QuirksBrowserTest : public InProcessBrowserTest {
// Create display_profiles subdirectory under temp profile directory.
const base::FilePath path =
- QuirksManager::Get()->delegate()->GetDownloadDisplayProfileDirectory();
+ QuirksManager::Get()->delegate()->GetDisplayProfileDirectory();
base::File::Error error = base::File::FILE_OK;
bool created = base::CreateDirectoryAndGetError(path, &error);
ASSERT_TRUE(created);

Powered by Google App Engine
This is Rietveld 408576698