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

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

Issue 1873463003: Remove mojo network service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « mojo/services/network/android_hooks.cc ('k') | mojo/services/network/cookie_store_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/cookie_store_impl.h
diff --git a/mojo/services/network/cookie_store_impl.h b/mojo/services/network/cookie_store_impl.h
deleted file mode 100644
index 224490c6b4025c783d7ba75fd8501ca23a8bc738..0000000000000000000000000000000000000000
--- a/mojo/services/network/cookie_store_impl.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// 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.
-
-#ifndef MOJO_SERVICES_NETWORK_COOKIE_STORE_IMPL_H_
-#define MOJO_SERVICES_NETWORK_COOKIE_STORE_IMPL_H_
-
-#include "base/macros.h"
-#include "mojo/public/cpp/bindings/strong_binding.h"
-#include "mojo/services/network/public/interfaces/cookie_store.mojom.h"
-#include "mojo/shell/public/cpp/message_loop_ref.h"
-#include "url/gurl.h"
-
-namespace mojo {
-class NetworkContext;
-
-class CookieStoreImpl : public CookieStore {
- public:
- CookieStoreImpl(NetworkContext* context,
- const GURL& origin,
- scoped_ptr<mojo::MessageLoopRef> app_refcount,
- InterfaceRequest<CookieStore> request);
- ~CookieStoreImpl() override;
-
- private:
- // CookieStore methods:
- void Get(const String& url, const Callback<void(String)>& callback) override;
- void Set(const String& url,
- const String& cookie,
- const Callback<void(bool)>& callback) override;
-
- NetworkContext* context_;
- GURL origin_;
- scoped_ptr<mojo::MessageLoopRef> app_refcount_;
- StrongBinding<CookieStore> binding_;
-
- DISALLOW_COPY_AND_ASSIGN(CookieStoreImpl);
-};
-
-} // namespace mojo
-
-#endif // MOJO_SERVICES_NETWORK_COOKIE_STORE_IMPL_H_
« no previous file with comments | « mojo/services/network/android_hooks.cc ('k') | mojo/services/network/cookie_store_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698