summaryrefslogtreecommitdiffstats
path: root/chrome/browser/google_apis/drive_upload_error.h
blob: 8b85593436c3b4b39d853f2e9c778068e06c72fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2012 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 CHROME_BROWSER_GOOGLE_APIS_DRIVE_UPLOAD_ERROR_H_
#define CHROME_BROWSER_GOOGLE_APIS_DRIVE_UPLOAD_ERROR_H_

namespace google_apis {

// Represents errors on uploading a file to Drive.
enum DriveUploadError {
  DRIVE_UPLOAD_OK,
  DRIVE_UPLOAD_ERROR_NOT_FOUND,
  DRIVE_UPLOAD_ERROR_NO_SPACE,
  DRIVE_UPLOAD_ERROR_CONFLICT,
  DRIVE_UPLOAD_ERROR_ABORT,
};

}  // namespace google_apis

#endif  // CHROME_BROWSER_GOOGLE_APIS_DRIVE_UPLOAD_ERROR_H_