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

Unified Diff: extensions/browser/api/networking_private/networking_private_delegate_factory.h

Issue 2751423004: Move NetworkingPrivateDelegate::CryptoVerify to networking_cast_private (Closed)
Patch Set: blocking pool removed Created 3 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: extensions/browser/api/networking_private/networking_private_delegate_factory.h
diff --git a/extensions/browser/api/networking_private/networking_private_delegate_factory.h b/extensions/browser/api/networking_private/networking_private_delegate_factory.h
index d172354551a2d778c619c6243bd392fd03951a69..90927b5a7466fa22ec7572cf1d436d51291c7b9a 100644
--- a/extensions/browser/api/networking_private/networking_private_delegate_factory.h
+++ b/extensions/browser/api/networking_private/networking_private_delegate_factory.h
@@ -28,18 +28,6 @@ class NetworkingPrivateDelegateFactory
// already a singleton, it provides a good place to hold these delegate
// factories. See NetworkingPrivateDelegate for the delegate declarations.
- class VerifyDelegateFactory {
- public:
- VerifyDelegateFactory();
- virtual ~VerifyDelegateFactory();
-
- virtual std::unique_ptr<NetworkingPrivateDelegate::VerifyDelegate>
- CreateDelegate() = 0;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(VerifyDelegateFactory);
- };
-
class UIDelegateFactory {
public:
UIDelegateFactory();
@@ -53,7 +41,6 @@ class NetworkingPrivateDelegateFactory
};
// Provide optional factories for creating delegate instances.
- void SetVerifyDelegateFactory(std::unique_ptr<VerifyDelegateFactory> factory);
void SetUIDelegateFactory(std::unique_ptr<UIDelegateFactory> factory);
static NetworkingPrivateDelegate* GetForBrowserContext(
@@ -74,7 +61,6 @@ class NetworkingPrivateDelegateFactory
bool ServiceIsCreatedWithBrowserContext() const override;
bool ServiceIsNULLWhileTesting() const override;
- std::unique_ptr<VerifyDelegateFactory> verify_factory_;
std::unique_ptr<UIDelegateFactory> ui_factory_;
DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateDelegateFactory);

Powered by Google App Engine
This is Rietveld 408576698