Update mojo sdk to rev 1dc8a9a5db73d3718d99917fadf31f5fb2ebad4f
[chromium-blink-merge.git] / third_party / libaddressinput / chromium / fallback_data_store.h
blobfd8d680576cbcabb4a082edbb305e1207cb4c284
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.
5 #ifndef THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_FALLBACK_DATA_STORE_H_
6 #define THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_FALLBACK_DATA_STORE_H_
8 #include <string>
10 namespace autofill {
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);
20 } // namespace autofill
22 #endif // THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_FALLBACK_DATA_STORE_H_