Commit dc362253 authored by Istiaque Ahmed's avatar Istiaque Ahmed Committed by Commit Bot

Cleanup: Simplify ValueStoreFrontend class.

ValueStoreFrontend doesn't need any weak reference. So make it
not extend SupportsWeakPtr.

Bug: None
Change-Id: I85cf06bc225965a3530ac4e67b9d26f7a18d46df
Reviewed-on: https://chromium-review.googlesource.com/c/1308473Reviewed-by: default avatarKaran Bhatia <karandeepb@chromium.org>
Commit-Queue: Istiaque Ahmed <lazyboy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#604792}
parent a8013eab
......@@ -11,7 +11,6 @@
#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "base/values.h"
#include "extensions/browser/value_store/value_store.h"
......@@ -20,7 +19,7 @@ class ValueStoreFactory;
} // namespace extensions
// A frontend for a LeveldbValueStore, for use on the UI thread.
class ValueStoreFrontend : public base::SupportsWeakPtr<ValueStoreFrontend> {
class ValueStoreFrontend {
public:
// The kind of extensions data stored in a backend.
enum class BackendType { RULES, STATE };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment