Index: content/public/browser/browser_context.h |
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h |
index a1b5d7b5239b9b9bfa5711d46935095fcf182647..a565cac9955eb1d3a59468d37beff964f3d68f88 100644 |
--- a/content/public/browser/browser_context.h |
+++ b/content/public/browser/browser_context.h |
@@ -10,6 +10,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/supports_user_data.h" |
#include "content/common/content_export.h" |
+#include "ui/base/clipboard/clipboard.h" |
class GURL; |
@@ -94,6 +95,12 @@ 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 ui::Clipboard::SourceTag GetMarkerForOffTheRecordContext( |
+ BrowserContext* context); |
+ |
virtual ~BrowserContext(); |
// Returns the path of the directory where this context's data is stored. |