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

Unified Diff: mojo/services/network/cookie_store_impl.cc

Issue 1139673003: Make Mandoline shut down cleanly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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 | « mojo/services/network/cookie_store_impl.h ('k') | mojo/services/network/http_server_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/cookie_store_impl.cc
diff --git a/mojo/services/network/cookie_store_impl.cc b/mojo/services/network/cookie_store_impl.cc
index 033d7a44310e8c43e44008eae66c7f140495a211..05963aa3de4e1be66e3d8fb73d72e0506c18c3da 100644
--- a/mojo/services/network/cookie_store_impl.cc
+++ b/mojo/services/network/cookie_store_impl.cc
@@ -24,10 +24,13 @@ void AdaptSetCookieCallback(const Callback<void(bool)>& callback,
} // namespace
-CookieStoreImpl::CookieStoreImpl(NetworkContext* context,
- const GURL& origin)
+CookieStoreImpl::CookieStoreImpl(
+ NetworkContext* context,
+ const GURL& origin,
+ scoped_ptr<mojo::AppRefCount> app_refcount)
: context_(context),
- origin_(origin) {
+ origin_(origin),
+ app_refcount_(app_refcount.Pass()) {
}
CookieStoreImpl::~CookieStoreImpl() {
« no previous file with comments | « mojo/services/network/cookie_store_impl.h ('k') | mojo/services/network/http_server_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698