chromium/content/browser/network/browser_online_state_observer.h

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_BROWSER_NETWORK_BROWSER_ONLINE_STATE_OBSERVER_H_
#define CONTENT_BROWSER_NETWORK_BROWSER_ONLINE_STATE_OBSERVER_H_

#include "content/public/browser/render_process_host_creation_observer.h"
#include "net/base/network_change_notifier.h"

namespace content {

// Listens for changes to the online state and manages sending
// updates to each RenderProcess via RenderProcessHost IPC.
class BrowserOnlineStateObserver
    : public net::NetworkChangeNotifier::MaxBandwidthObserver,
      public content::RenderProcessHostCreationObserver {};

}  // namespace content

#endif  // CONTENT_BROWSER_NETWORK_BROWSER_ONLINE_STATE_OBSERVER_H_