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

Unified Diff: chrome/browser/extensions/api/networking_private/networking_private_event_router.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: chrome/browser/extensions/api/networking_private/networking_private_event_router.h
diff --git a/chrome/browser/extensions/api/networking_private/networking_private_event_router.h b/chrome/browser/extensions/api/networking_private/networking_private_event_router.h
deleted file mode 100644
index 94068d82de220326b2acf3f653c98fff2260352c..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/api/networking_private/networking_private_event_router.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2013 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 CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_EVENT_ROUTER_H_
-#define CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_EVENT_ROUTER_H_
-
-#include "components/keyed_service/core/keyed_service.h"
-#include "extensions/browser/event_router.h"
-
-namespace content {
-class BrowserContext;
-}
-
-namespace extensions {
-
-class NetworkingPrivateDelegate;
-
-// This is an event router that will observe listeners to |NetworksChanged| and
-// |NetworkListChanged| events. On ChromeOS it will forward these events
-// from the NetworkStateHandler to the JavaScript Networking API.
-class NetworkingPrivateEventRouter : public KeyedService,
- public EventRouter::Observer {
- public:
- static NetworkingPrivateEventRouter* Create(
- content::BrowserContext* browser_context);
-
- protected:
- NetworkingPrivateEventRouter() {}
-
- private:
- DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateEventRouter);
-};
-
-} // namespace extensions
-
-#endif // CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_EVENT_ROUTER_H_

Powered by Google App Engine
This is Rietveld 408576698