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

Unified Diff: chrome/browser/chromeos/profiles/profile_helper.h

Issue 1012083002: Resolve new GAIA flow's infinite loop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clear all WebView partitions. Created 5 years, 9 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/profiles/profile_helper.h
diff --git a/chrome/browser/chromeos/profiles/profile_helper.h b/chrome/browser/chromeos/profiles/profile_helper.h
index a7a078c1c1924d2ccd07a2572211595e2e0f187c..e24f7069debf05f1d845841cd6646967dc3f429f 100644
--- a/chrome/browser/chromeos/profiles/profile_helper.h
+++ b/chrome/browser/chromeos/profiles/profile_helper.h
@@ -22,6 +22,10 @@ namespace base {
class FilePath;
}
+namespace content {
+class WebContents;
+}
+
namespace extensions {
class ExtensionGarbageCollectorChromeOSUnitTest;
}
@@ -100,7 +104,10 @@ class ProfileHelper
// Clears site data (cookies, history, etc) for signin profile.
// Callback can be empty. Not thread-safe.
- void ClearSigninProfile(const base::Closure& on_clear_callback);
+ // |webview_contents| is an optional parameter (may be nullptr) that points to
+ // the host of a webview whose storage needs to be cleared as well.
+ void ClearSigninProfile(const base::Closure& on_clear_callback,
+ content::WebContents* webview_contents);
// Returns profile of the |user| if it is created and fully initialized.
// Otherwise, returns NULL.

Powered by Google App Engine
This is Rietveld 408576698