Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 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 COMPONENTS_CONTEXTUAL_SEARCH_BROWSER_NATIVE_INT_STORAGE_H_ | |
| 6 #define COMPONENTS_CONTEXTUAL_SEARCH_BROWSER_NATIVE_INT_STORAGE_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "base/macros.h" | |
| 11 | |
| 12 namespace contextual_search { | |
| 13 | |
| 14 class NativeIntStorage { | |
|
Theresa
2016/08/26 23:32:08
I think DeviceIntStorage does make more sense or P
Donn Denman
2016/08/29 22:58:06
Done.
| |
| 15 public: | |
| 16 NativeIntStorage() {} | |
| 17 virtual ~NativeIntStorage() {} | |
| 18 | |
| 19 virtual int ReadInt(std::string storage_key) = 0; | |
| 20 virtual void WriteInt(std::string storage_key, int value) = 0; | |
| 21 | |
| 22 private: | |
| 23 DISALLOW_COPY_AND_ASSIGN(NativeIntStorage); | |
| 24 }; | |
| 25 | |
| 26 } // namespace contextual_search | |
| 27 | |
| 28 #endif // COMPONENTS_CONTEXTUAL_SEARCH_BROWSER_NATIVE_INT_STORAGE_H_ | |
| OLD | NEW |