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

Unified Diff: webkit/quota/quota_callbacks.h

Issue 15892009: [Quota] Move quota related callbacks to separate file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: +#include <algorithm> Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/common/fileapi/file_system_util.cc ('k') | webkit/quota/quota_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/quota_callbacks.h
diff --git a/webkit/quota/quota_types.h b/webkit/quota/quota_callbacks.h
similarity index 90%
copy from webkit/quota/quota_types.h
copy to webkit/quota/quota_callbacks.h
index 97de985086722d7f3a0d477c2f764d8b53f77a9c..5da12e13e46d5c2c05b62217d832a54bec2f733a 100644
--- a/webkit/quota/quota_types.h
+++ b/webkit/quota/quota_callbacks.h
@@ -1,11 +1,10 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_QUOTA_QUOTA_TYPES_H_
-#define WEBKIT_QUOTA_QUOTA_TYPES_H_
+#ifndef WEBKIT_QUOTA_QUOTA_CALLBACKS_H_
+#define WEBKIT_QUOTA_QUOTA_CALLBACKS_H_
-#include <deque>
#include <map>
#include <set>
#include <string>
@@ -15,24 +14,12 @@
#include "base/callback.h"
#include "base/tuple.h"
#include "webkit/quota/quota_status_code.h"
+#include "webkit/quota/quota_types.h"
class GURL;
namespace quota {
-enum StorageType {
- kStorageTypeTemporary,
- kStorageTypePersistent,
- kStorageTypeSyncable,
- kStorageTypeUnknown,
-};
-
-enum QuotaLimitType {
- kQuotaLimitTypeUnknown,
- kQuotaLimitTypeLimited,
- kQuotaLimitTypeUnlimited,
-};
-
struct UsageInfo;
typedef std::vector<UsageInfo> UsageInfoEntries;
« no previous file with comments | « webkit/common/fileapi/file_system_util.cc ('k') | webkit/quota/quota_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698