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

Unified Diff: chrome/test/chromedriver/session.h

Issue 2853953002: [Chromedriver] Retry deleting temp dir when needed (Closed)
Patch Set: Fix warning message Created 3 years, 8 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
« no previous file with comments | « chrome/test/chromedriver/chrome/scoped_temp_dir_with_retry.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/session.h
diff --git a/chrome/test/chromedriver/session.h b/chrome/test/chromedriver/session.h
index 5bfa1437fef418a748b69c4c0fb5adb75e450185..da2227461ec8127bc45321487270764db8f0e632 100644
--- a/chrome/test/chromedriver/session.h
+++ b/chrome/test/chromedriver/session.h
@@ -10,12 +10,12 @@
#include <string>
#include <vector>
-#include "base/files/scoped_temp_dir.h"
#include "base/time/time.h"
#include "chrome/test/chromedriver/basic_types.h"
#include "chrome/test/chromedriver/chrome/device_metrics.h"
#include "chrome/test/chromedriver/chrome/geoposition.h"
#include "chrome/test/chromedriver/chrome/network_conditions.h"
+#include "chrome/test/chromedriver/chrome/scoped_temp_dir_with_retry.h"
#include "chrome/test/chromedriver/command_listener.h"
static const char kAccept[] = "accept";
@@ -82,7 +82,7 @@ struct Session {
// Logs that populate from DevTools events.
std::vector<std::unique_ptr<WebDriverLog>> devtools_logs;
std::unique_ptr<WebDriverLog> driver_log;
- base::ScopedTempDir temp_dir;
+ ScopedTempDirWithRetry temp_dir;
std::unique_ptr<base::DictionaryValue> capabilities;
bool auto_reporting_enabled;
// |command_listeners| should be declared after |chrome|. When the |Session|
« no previous file with comments | « chrome/test/chromedriver/chrome/scoped_temp_dir_with_retry.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698