OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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_READING_LIST_IOS_READING_LIST_STORE_DELEGATE_H_ | 5 #ifndef COMPONENTS_READING_LIST_CORE_READING_LIST_STORE_DELEGATE_H_ |
6 #define COMPONENTS_READING_LIST_IOS_READING_LIST_STORE_DELEGATE_H_ | 6 #define COMPONENTS_READING_LIST_CORE_READING_LIST_STORE_DELEGATE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 | 11 |
12 class ReadingListEntry; | 12 class ReadingListEntry; |
13 | 13 |
14 // The delegate to handle callbacks from the ReadingListStore. | 14 // The delegate to handle callbacks from the ReadingListStore. |
15 class ReadingListStoreDelegate { | 15 class ReadingListStoreDelegate { |
16 public: | 16 public: |
(...skipping 18 matching lines...) Expand all Loading... |
35 virtual void SyncRemoveEntry(const GURL& url) = 0; | 35 virtual void SyncRemoveEntry(const GURL& url) = 0; |
36 | 36 |
37 protected: | 37 protected: |
38 ReadingListStoreDelegate() {} | 38 ReadingListStoreDelegate() {} |
39 virtual ~ReadingListStoreDelegate() {} | 39 virtual ~ReadingListStoreDelegate() {} |
40 | 40 |
41 private: | 41 private: |
42 DISALLOW_COPY_AND_ASSIGN(ReadingListStoreDelegate); | 42 DISALLOW_COPY_AND_ASSIGN(ReadingListStoreDelegate); |
43 }; | 43 }; |
44 | 44 |
45 #endif // COMPONENTS_READING_LIST_IOS_READING_LIST_STORE_DELEGATE_H_ | 45 #endif // COMPONENTS_READING_LIST_CORE_READING_LIST_STORE_DELEGATE_H_ |
OLD | NEW |