blob: 7a26778728e6f3b75dfd52c6a122472f8cc64e98 [file] [log] [blame]
// Copyright 2015 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_PROXIMITY_AUTH_CLIENT_H_
#define COMPONENTS_PROXIMITY_AUTH_CLIENT_H_
#include <string>
namespace proximity_auth {
// An interface that needs to be supplied to the Proximity Auth component by its
// embedder. There should be one |ProximityAuthClient| per
// |content::BrowserContext|.
class ProximityAuthClient {
public:
virtual ~ProximityAuthClient() {}
// Returns the authenticated username.
virtual std::string GetAuthenticatedUsername() const = 0;
};
} // namespace proximity_auth
#endif // COMPONENTS_PROXIMITY_AUTH_CLIENT_H_