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

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

Issue 9348109: Add extra data to BrowserContext so that content layer and other embedders can stash data with it t… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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
===================================================================
--- content/public/browser/browser_context.h (revision 121897)
+++ content/public/browser/browser_context.h (working copy)
@@ -7,6 +7,7 @@
#pragma once
#include "base/hash_tables.h"
+#include "base/supports_user_data.h"
#include "content/common/content_export.h"
namespace fileapi {
@@ -40,9 +41,9 @@
// This class holds the context needed for a browsing session.
// It lives on the UI thread.
-class CONTENT_EXPORT BrowserContext {
+class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
public:
- virtual ~BrowserContext();
+ virtual ~BrowserContext() {}
// Returns the path of the directory where this context's data is stored.
virtual FilePath GetPath() = 0;

Powered by Google App Engine
This is Rietveld 408576698