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

Unified Diff: ios/net/cookies/cookie_store_ios_client.mm

Issue 994823004: [iOS] Upstream //ios/net (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: ios/net/cookies/cookie_store_ios_client.mm
diff --git a/ios/net/cookies/cookie_store_ios_client.mm b/ios/net/cookies/cookie_store_ios_client.mm
new file mode 100644
index 0000000000000000000000000000000000000000..c8cbd14c93ac3a83d364ee2c0fc4938c10019f30
--- /dev/null
+++ b/ios/net/cookies/cookie_store_ios_client.mm
@@ -0,0 +1,35 @@
+// Copyright 2014 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.
+
+#include "ios/net/cookies/cookie_store_ios_client.h"
+
+namespace {
+// The CookieStoreIOSClient.
+net::CookieStoreIOSClient* g_client;
+} // namespace
+
+namespace net {
+
+void SetCookieStoreIOSClient(CookieStoreIOSClient* client) {
+ g_client = client;
+}
+
+CookieStoreIOSClient* GetCookieStoreIOSClient() {
+ return g_client;
+}
+
+CookieStoreIOSClient::CookieStoreIOSClient() {}
+
+CookieStoreIOSClient::~CookieStoreIOSClient() {}
+
+void CookieStoreIOSClient::WillChangeCookieStorage() const {}
+
+void CookieStoreIOSClient::DidChangeCookieStorage() const {}
+
+scoped_refptr<base::SequencedTaskRunner>
+CookieStoreIOSClient::GetTaskRunner() const {
+ return scoped_refptr<base::SequencedTaskRunner>();
+}
+
+} // namespace net

Powered by Google App Engine
This is Rietveld 408576698