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

Unified Diff: chrome/browser/extensions/api/networking_private/networking_private_delegate_observer.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_delegate_observer.h
diff --git a/chrome/browser/extensions/api/networking_private/networking_private_delegate_observer.h b/chrome/browser/extensions/api/networking_private/networking_private_delegate_observer.h
deleted file mode 100644
index 6fb487543e8a481e53626d88272c778e71d4e62e..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/api/networking_private/networking_private_delegate_observer.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2014 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_DELEGATE_OBSERVER_H_
-#define CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_DELEGATE_OBSERVER_H_
-
-#include <string>
-#include <vector>
-
-#include "base/macros.h"
-
-namespace extensions {
-
-// Implemented by event handlers so they are notified when a change event
-// occurs. Triggered by NetworkingPrivateServiceClient or
-// NetworkingPrivateLinux. Not used on Chrome OS.
-class NetworkingPrivateDelegateObserver {
- public:
- // Notifes observers when properties may have changed for the networks listed
- // in |network_guids|.
- virtual void OnNetworksChangedEvent(
- const std::vector<std::string>& network_guids) = 0;
-
- // Notifies observers that the list of networks changed. |network_guids|
- // contains the complete list of network guids.
- virtual void OnNetworkListChangedEvent(
- const std::vector<std::string>& network_guids) = 0;
-
- protected:
- virtual ~NetworkingPrivateDelegateObserver() {}
-
- private:
- DISALLOW_ASSIGN(NetworkingPrivateDelegateObserver);
-};
-
-} // namespace extensions
-
-#endif // CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_DELEGATE_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698