OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_SUGGESTIONS_SUGGESTIONS_STORE_H_ | 5 #ifndef COMPONENTS_SUGGESTIONS_SUGGESTIONS_STORE_H_ |
6 #define COMPONENTS_SUGGESTIONS_SUGGESTIONS_STORE_H_ | 6 #define COMPONENTS_SUGGESTIONS_SUGGESTIONS_STORE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "components/suggestions/proto/suggestions.pb.h" | 9 #include "components/suggestions/proto/suggestions.pb.h" |
10 | 10 |
(...skipping 30 matching lines...) Expand all Loading... | |
41 | 41 |
42 protected: | 42 protected: |
43 // Test seam. For simplicity of mock creation. | 43 // Test seam. For simplicity of mock creation. |
44 SuggestionsStore() {} | 44 SuggestionsStore() {} |
45 | 45 |
46 private: | 46 private: |
47 // The pref service used to persist the suggestions data. | 47 // The pref service used to persist the suggestions data. |
48 PrefService* pref_service_; | 48 PrefService* pref_service_; |
49 | 49 |
50 DISALLOW_COPY_AND_ASSIGN(SuggestionsStore); | 50 DISALLOW_COPY_AND_ASSIGN(SuggestionsStore); |
51 | |
52 // filters expired suggestions. | |
manzagop (departed)
2014/07/31 15:31:51
Capitalize "filters".
gayane -on leave until 09-2017
2014/08/04 13:46:31
Done.
| |
53 void FilterExpiredSuggestions(SuggestionsProfile* suggestions); | |
51 }; | 54 }; |
52 | 55 |
53 } // namespace suggestions | 56 } // namespace suggestions |
54 | 57 |
55 #endif // COMPONENTS_SUGGESTIONS_SUGGESTIONS_STORE_H_ | 58 #endif // COMPONENTS_SUGGESTIONS_SUGGESTIONS_STORE_H_ |
OLD | NEW |