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

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

Issue 870163002: Move networking_private to src/extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GN 2 Created 5 years, 11 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.h
diff --git a/chrome/browser/extensions/api/networking_private/networking_private_delegate.h b/extensions/browser/api/networking_private/networking_private_delegate.h
similarity index 95%
rename from chrome/browser/extensions/api/networking_private/networking_private_delegate.h
rename to extensions/browser/api/networking_private/networking_private_delegate.h
index 5bd36be56464c409cdf310d5232306310f03ed62..3181ac51867eef45e3fa596f93868e1fa664679f 100644
--- a/chrome/browser/extensions/api/networking_private/networking_private_delegate.h
+++ b/extensions/browser/api/networking_private/networking_private_delegate.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_DELEGATE_H_
-#define CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_DELEGATE_H_
+#ifndef EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_DELEGATE_H_
+#define EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_DELEGATE_H_
#include <string>
@@ -13,22 +13,18 @@
#include "components/keyed_service/core/keyed_service.h"
namespace content {
-
class BrowserContext;
-
-} // content
+}
namespace extensions {
class NetworkingPrivateDelegateObserver;
-namespace api {
+namespace core_api {
namespace networking_private {
-
struct VerificationProperties;
-
} // networking_private
-} // api
+} // core_api
// Base class for platform dependent networkingPrivate API implementations.
// All inputs and results for this class use ONC values. See
@@ -42,7 +38,7 @@ class NetworkingPrivateDelegate : public KeyedService {
typedef base::Callback<void(const std::string&)> StringCallback;
typedef base::Callback<void(scoped_ptr<base::ListValue>)> NetworkListCallback;
typedef base::Callback<void(const std::string&)> FailureCallback;
- typedef api::networking_private::VerificationProperties
+ typedef core_api::networking_private::VerificationProperties
VerificationProperties;
// The Verify* methods will be forwarded to a delegate implementation if
@@ -172,4 +168,4 @@ class NetworkingPrivateDelegate : public KeyedService {
} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_DELEGATE_H_
+#endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698