Don't preload rarely seen large images
[chromium-blink-merge.git] / components / proximity_auth / proximity_auth_client.h
blob7a26778728e6f3b75dfd52c6a122472f8cc64e98
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_PROXIMITY_AUTH_CLIENT_H_
6 #define COMPONENTS_PROXIMITY_AUTH_CLIENT_H_
8 #include <string>
10 namespace proximity_auth {
12 // An interface that needs to be supplied to the Proximity Auth component by its
13 // embedder. There should be one |ProximityAuthClient| per
14 // |content::BrowserContext|.
15 class ProximityAuthClient {
16 public:
17 virtual ~ProximityAuthClient() {}
19 // Returns the authenticated username.
20 virtual std::string GetAuthenticatedUsername() const = 0;
23 } // namespace proximity_auth
25 #endif // COMPONENTS_PROXIMITY_AUTH_CLIENT_H_