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

Unified Diff: chrome/browser/net/chrome_url_request_context.h

Issue 9810022: Remove DONTUSEME_GetCookieStore(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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
« no previous file with comments | « no previous file | chrome/browser/net/chrome_url_request_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/chrome_url_request_context.h
diff --git a/chrome/browser/net/chrome_url_request_context.h b/chrome/browser/net/chrome_url_request_context.h
index 1ddd6360cffb21afcb182274fac3b1844bfa41d2..be9f5e3cfedbd0f7554e792803dc6ffc0a121c5f 100644
--- a/chrome/browser/net/chrome_url_request_context.h
+++ b/chrome/browser/net/chrome_url_request_context.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -7,7 +7,6 @@
#pragma once
#include <string>
-#include <vector>
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/prefs/pref_change_registrar.h"
@@ -21,9 +20,6 @@ class ChromeURLRequestContextFactory;
class IOThread;
class Profile;
class ProfileIOData;
-namespace base {
-class WaitableEvent;
-}
// Subclass of net::URLRequestContext which can be used to store extra
// information for requests.
@@ -98,12 +94,11 @@ class ChromeURLRequestContextGetter : public net::URLRequestContextGetter,
ChromeURLRequestContextFactory* factory);
// Note that GetURLRequestContext() can only be called from the IO
- // thread (it will assert otherwise). DONTUSEME_GetCookieStore() and
+ // thread (it will assert otherwise).
// GetIOMessageLoopProxy however can be called from any thread.
//
// net::URLRequestContextGetter implementation.
virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE;
- virtual net::CookieStore* DONTUSEME_GetCookieStore() OVERRIDE;
virtual scoped_refptr<base::MessageLoopProxy>
GetIOMessageLoopProxy() const OVERRIDE;
@@ -176,10 +171,6 @@ class ChromeURLRequestContextGetter : public net::URLRequestContextGetter,
void OnDefaultCharsetChange(const std::string& default_charset);
void OnClearSiteDataOnExitChange(bool clear_site_data);
- // Saves the cookie store to |result| and signals |completion|.
- void GetCookieStoreAsyncHelper(base::WaitableEvent* completion,
- net::CookieStore** result);
-
PrefChangeRegistrar registrar_;
// Deferred logic for creating a ChromeURLRequestContext.
« no previous file with comments | « no previous file | chrome/browser/net/chrome_url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698