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

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

Issue 1864583006: Simplify BrowserContext by removing redundant methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 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
Index: content/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index fb34686cfaa4b0ace61327a564284ae590d8f399..699b8ca2e87f4ff391f3f9eefc6cea0c46dba4e4 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -99,8 +99,6 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
std::unique_ptr<base::hash_set<base::FilePath>> active_paths,
const base::Closure& done);
- // DON'T USE THIS. GetDefaultStoragePartition() is going away.
- // Use GetStoragePartition() instead. Ask ajwong@ if you have problems.
static content::StoragePartition* GetDefaultStoragePartition(
BrowserContext* browser_context);
@@ -166,12 +164,6 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
// Return whether this context is incognito. Default is false.
virtual bool IsOffTheRecord() const = 0;
- // Returns the request context information associated with this context. Call
- // this only on the UI thread, since it can send notifications that should
- // happen on the UI thread.
- // TODO(creis): Remove this version in favor of the one below.
- virtual net::URLRequestContextGetter* GetRequestContext() = 0;
-
// Returns the default request context for media resources associated with
// this context.
// TODO(creis): Remove this version in favor of the one below.
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/public/test/browser_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698