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

Side by Side Diff: storage/browser/quota/quota_callbacks.h

Issue 539143002: Migrate webkit/browser/ to storage/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android build Created 6 years, 3 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
« no previous file with comments | « storage/browser/quota/OWNERS ('k') | storage/browser/quota/quota_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 WEBKIT_BROWSER_QUOTA_QUOTA_CALLBACKS_H_ 5 #ifndef STORAGE_BROWSER_QUOTA_QUOTA_CALLBACKS_H_
6 #define WEBKIT_BROWSER_QUOTA_QUOTA_CALLBACKS_H_ 6 #define STORAGE_BROWSER_QUOTA_QUOTA_CALLBACKS_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/tuple.h" 15 #include "base/tuple.h"
16 #include "webkit/common/quota/quota_status_code.h" 16 #include "storage/common/quota/quota_status_code.h"
17 #include "webkit/common/quota/quota_types.h" 17 #include "storage/common/quota/quota_types.h"
18 18
19 class GURL; 19 class GURL;
20 20
21 namespace storage { 21 namespace storage {
22 22
23 struct UsageInfo; 23 struct UsageInfo;
24 typedef std::vector<UsageInfo> UsageInfoEntries; 24 typedef std::vector<UsageInfo> UsageInfoEntries;
25 25
26 // Common callback types that are used throughout in the quota module. 26 // Common callback types that are used throughout in the quota module.
27 typedef base::Callback<void(int64 usage, 27 typedef base::Callback<void(int64 usage,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 }; 119 };
120 120
121 typedef CallbackQueueMap<UsageCallback, std::string, Tuple1<int64> > 121 typedef CallbackQueueMap<UsageCallback, std::string, Tuple1<int64> >
122 HostUsageCallbackMap; 122 HostUsageCallbackMap;
123 typedef CallbackQueueMap<QuotaCallback, std::string, 123 typedef CallbackQueueMap<QuotaCallback, std::string,
124 Tuple2<QuotaStatusCode, int64> > 124 Tuple2<QuotaStatusCode, int64> >
125 HostQuotaCallbackMap; 125 HostQuotaCallbackMap;
126 126
127 } // namespace storage 127 } // namespace storage
128 128
129 #endif // WEBKIT_QUOTA_QUOTA_TYPES_H_ 129 #endif // STORAGE_QUOTA_QUOTA_TYPES_H_
OLDNEW
« no previous file with comments | « storage/browser/quota/OWNERS ('k') | storage/browser/quota/quota_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698