Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(452)

Side by Side Diff: components/offline_pages/offline_page_metadata_store.h

Issue 1550503002: Switch to standard integer types in base/threading/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_OFFLINE_PAGES_OFFLINE_PAGE_METADATA_STORE_H_ 5 #ifndef COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_METADATA_STORE_H_
6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_METADATA_STORE_H_ 6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_METADATA_STORE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // Get all of the offline pages from the store. 45 // Get all of the offline pages from the store.
46 virtual void Load(const LoadCallback& callback) = 0; 46 virtual void Load(const LoadCallback& callback) = 0;
47 47
48 // Asynchronously adds or updates offline page metadata to the store. 48 // Asynchronously adds or updates offline page metadata to the store.
49 // Result of the update is passed in callback. 49 // Result of the update is passed in callback.
50 virtual void AddOrUpdateOfflinePage(const OfflinePageItem& offline_page, 50 virtual void AddOrUpdateOfflinePage(const OfflinePageItem& offline_page,
51 const UpdateCallback& callback) = 0; 51 const UpdateCallback& callback) = 0;
52 52
53 // Asynchronously removes offline page metadata from the store. 53 // Asynchronously removes offline page metadata from the store.
54 // Result of the update is passed in callback. 54 // Result of the update is passed in callback.
55 virtual void RemoveOfflinePages(const std::vector<int64>& bookmark_ids, 55 virtual void RemoveOfflinePages(const std::vector<int64_t>& bookmark_ids,
56 const UpdateCallback& callback) = 0; 56 const UpdateCallback& callback) = 0;
57 57
58 // Resets the store. 58 // Resets the store.
59 virtual void Reset(const ResetCallback& callback) = 0; 59 virtual void Reset(const ResetCallback& callback) = 0;
60 }; 60 };
61 61
62 } // namespace offline_pages 62 } // namespace offline_pages
63 63
64 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_METADATA_STORE_H_ 64 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_METADATA_STORE_H_
OLDNEW
« no previous file with comments | « base/threading/worker_pool_unittest.cc ('k') | components/offline_pages/offline_page_metadata_store_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698