Revert "Re-land: content: Enable one-copy tile updates on Android."
[chromium-blink-merge.git] / storage / common / quota / quota_status_code.cc
blobb3976e53f995178b324334b5cd8518ea2cc369b5
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
3 // found in the LICENSE file.
5 #include "base/logging.h"
6 #include "storage/common/quota/quota_status_code.h"
8 namespace storage {
10 const char* QuotaStatusCodeToString(QuotaStatusCode status) {
11 switch (status) {
12 case kQuotaStatusOk:
13 return "OK.";
14 case kQuotaErrorNotSupported:
15 return "Operation not supported.";
16 case kQuotaErrorInvalidModification:
17 return "Invalid modification.";
18 case kQuotaErrorInvalidAccess:
19 return "Invalid access.";
20 case kQuotaErrorAbort:
21 return "Quota operation aborted.";
22 case kQuotaStatusUnknown:
23 return "Unknown error.";
25 NOTREACHED();
26 return "Unknown error.";
29 } // namespace storage