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

Unified Diff: chrome/browser/remoting/firewall_traversal_observer.h

Issue 8275012: Remove RemoteAccessClientFirewallTraversal policy and code paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-rebase Created 9 years, 2 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
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/remoting/firewall_traversal_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/remoting/firewall_traversal_observer.h
diff --git a/chrome/browser/remoting/firewall_traversal_observer.h b/chrome/browser/remoting/firewall_traversal_observer.h
deleted file mode 100644
index 9cb5bba4c7a23e3ecbe7e7f1fc339394288b4be0..0000000000000000000000000000000000000000
--- a/chrome/browser/remoting/firewall_traversal_observer.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (c) 2011 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_REMOTING_FIREWALL_TRAVERSAL_OBSERVER_H_
-#define CHROME_BROWSER_REMOTING_FIREWALL_TRAVERSAL_OBSERVER_H_
-#pragma once
-
-#include "chrome/browser/prefs/pref_change_registrar.h"
-#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
-#include "content/public/browser/notification_observer.h"
-#include "ipc/ipc_channel.h"
-
-// Per-tab class to manage the firewall traversal policies for
-// the remoting plugin.
-// TODO(dmaclach): Replace this with a more generic mechanism for
-// plugins to access preferences. http://crbug.com/90543
-class FirewallTraversalObserver : public content::NotificationObserver,
- public TabContentsObserver {
- public:
- explicit FirewallTraversalObserver(TabContents* tab_contents);
- virtual ~FirewallTraversalObserver();
-
- static void RegisterUserPrefs(PrefService* prefs);
-
- // content::NotificationObserver overrides:
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) OVERRIDE;
-
- // IPC::Channel::Listener overrides:
- virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
-
- private:
- void UpdateFirewallTraversalState();
-
- // Registers and unregisters us for notifications.
- PrefChangeRegistrar pref_change_registrar_;
-
- DISALLOW_COPY_AND_ASSIGN(FirewallTraversalObserver);
-};
-
-#endif // CHROME_BROWSER_REMOTING_FIREWALL_TRAVERSAL_OBSERVER_H_
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/remoting/firewall_traversal_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698