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

Unified Diff: content/public/browser/browser_context.h

Issue 12041078: Clear the clipboard closing Incognito window (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressing comments Created 7 years, 10 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: content/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index d82326af349346c468ef9a17908198c4f1b9794b..2ad358f48b9a02e89d4d366bebe64c77bab069cc 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -94,6 +94,11 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
// Tells the HTML5 objects on this context to purge any uneeded memory.
static void PurgeMemory(BrowserContext* browser_context);
+ // Returns a Clipboard::SourceTag (pointer) if |context| is OffTheRecord
+ // context. Otherwise, NULL. If the clipboard contains that SourceTag at the
+ // time of |context| destruction it will be flushed.
+ static void* GetMarkerForOffTheRecordContext(BrowserContext* context);
Jói 2013/02/08 10:37:32 void* -> Clipboard::SourceTag (?)
vasilii 2013/02/08 12:37:12 This is my pending question to John. Introducing c
vasilii 2013/02/13 16:57:26 Done.
+
virtual ~BrowserContext();
// Returns the path of the directory where this context's data is stored.

Powered by Google App Engine
This is Rietveld 408576698