OLD | NEW |
| (Empty) |
1 // Copyright 2014 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. | |
4 | |
5 #ifndef THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_FALLBACK_DATA_STORE_H_ | |
6 #define THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_FALLBACK_DATA_STORE_H_ | |
7 | |
8 #include <string> | |
9 | |
10 namespace autofill { | |
11 | |
12 class FallbackDataStore { | |
13 public: | |
14 // Gets stale, but valid static data for |key|. Should only be used as a last | |
15 // resort after attempts to check the local cache or the webserver have | |
16 // failed. | |
17 static bool Get(const std::string& key, std::string* data); | |
18 }; | |
19 | |
20 } // namespace autofill | |
21 | |
22 #endif // THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_FALLBACK_DATA_STORE_H_ | |
OLD | NEW |