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

Unified Diff: chrome/browser/extensions/api/networking_private/networking_private_verify_delegate_factory_impl.cc

Issue 792353002: Refactoring of Cast-related crypto code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/NetworkingPrivateCredentialsGetterCrOs/NetworkingPrivateCredentialsGetterChromeos/g Created 6 years 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: chrome/browser/extensions/api/networking_private/networking_private_verify_delegate_factory_impl.cc
diff --git a/chrome/browser/extensions/api/networking_private/networking_private_verify_delegate_factory_impl.cc b/chrome/browser/extensions/api/networking_private/networking_private_verify_delegate_factory_impl.cc
index 9ecc414192a7b2500b4ee5fd0a6138907f5dacbf..53f22c609a2f9ef8936e9dbc297775052e89c878 100644
--- a/chrome/browser/extensions/api/networking_private/networking_private_verify_delegate_factory_impl.cc
+++ b/chrome/browser/extensions/api/networking_private/networking_private_verify_delegate_factory_impl.cc
@@ -4,11 +4,7 @@
#include "chrome/browser/extensions/api/networking_private/networking_private_verify_delegate_factory_impl.h"
-#if defined(OS_CHROMEOS)
-#include "chrome/browser/extensions/api/networking_private/networking_private_verify_delegate_chromeos.h"
-#elif defined(OS_WIN) || defined(OSMACOSX)
#include "chrome/browser/extensions/api/networking_private/crypto_verify_impl.h"
-#endif
namespace extensions {
@@ -22,9 +18,7 @@ NetworkingPrivateVerifyDelegateFactoryImpl::
scoped_ptr<NetworkingPrivateDelegate::VerifyDelegate>
NetworkingPrivateVerifyDelegateFactoryImpl::CreateDelegate() {
-#if defined(OS_CHROMEOS)
- return make_scoped_ptr(new NetworkingPrivateVerifyDelegateChromeOS());
-#elif defined(OS_WIN) || defined(OSMACOSX)
+#if defined(OS_CHROMEOS) || defined(OS_WIN) || defined(OSMACOSX)
return make_scoped_ptr(new CryptoVerifyImpl());
#endif
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698