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

Unified Diff: chrome/browser/ui/webui/policy_ui_browsertest.cc

Issue 2321453002: c/browser, c/common, components S-W: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Just rebased Created 4 years, 3 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/ui/webui/policy_ui_browsertest.cc
diff --git a/chrome/browser/ui/webui/policy_ui_browsertest.cc b/chrome/browser/ui/webui/policy_ui_browsertest.cc
index 5487dfbee22000026103efed3e8d6e5d463918bf..3ffd40e8b136bd7e1f0265ef8308454d9e1fad4a 100644
--- a/chrome/browser/ui/webui/policy_ui_browsertest.cc
+++ b/chrome/browser/ui/webui/policy_ui_browsertest.cc
@@ -289,7 +289,7 @@ IN_PROC_BROWSER_TEST_F(PolicyUITest, ExtensionLoadAndSendPolicy) {
"\": { \"type\": \"string\"}}}";
const std::string schema_file = "schema.json";
- base::FilePath schema_path = temp_dir_.path().AppendASCII(schema_file);
+ base::FilePath schema_path = temp_dir_.GetPath().AppendASCII(schema_file);
base::WriteFile(schema_path, json_data.data(), json_data.size());
// Build extension that contains the policy schema.
@@ -303,7 +303,7 @@ IN_PROC_BROWSER_TEST_F(PolicyUITest, ExtensionLoadAndSendPolicy) {
.Set("storage", storage.Build());
extensions::ExtensionBuilder builder;
- builder.SetPath(temp_dir_.path());
+ builder.SetPath(temp_dir_.GetPath());
builder.SetManifest(manifest.Build());
// Install extension.

Powered by Google App Engine
This is Rietveld 408576698