blob: 528a93cd0b14492aaabda4fb49863067e1eb02d4 [file] [log] [blame]
// Copyright (c) 2018 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 COMPONENTS_ARC_NET_ALWAYS_ON_VPN_MANAGER_H_
#define COMPONENTS_ARC_NET_ALWAYS_ON_VPN_MANAGER_H_
#include <string>
#include "base/macros.h"
#include "components/prefs/pref_change_registrar.h"
#include "components/prefs/pref_service.h"
namespace arc {
class AlwaysOnVpnManager {
public:
explicit AlwaysOnVpnManager(PrefService* pref_service);
~AlwaysOnVpnManager();
private:
// Callback for the registrar
void OnPrefChanged();
PrefChangeRegistrar registrar_;
DISALLOW_COPY_AND_ASSIGN(AlwaysOnVpnManager);
};
} // namespace arc
#endif // COMPONENTS_ARC_NET_ALWAYS_ON_VPN_MANAGER_H_