blob: ebeef3a9b3df143901c3b7a3c92df7a6913b34b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// 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 CONTENT_PUBLIC_BROWSER_DOWNLOAD_INTERRUPT_REASONS_H_
#define CONTENT_PUBLIC_BROWSER_DOWNLOAD_INTERRUPT_REASONS_H_
#include <string>
#include "content/common/content_export.h"
namespace content {
enum DownloadInterruptReason {
DOWNLOAD_INTERRUPT_REASON_NONE = 0,
#define INTERRUPT_REASON(name, value) DOWNLOAD_INTERRUPT_REASON_##name = value,
#include "content/public/browser/download_interrupt_reason_values.h"
#undef INTERRUPT_REASON
};
std::string CONTENT_EXPORT InterruptReasonDebugString(
DownloadInterruptReason error);
} // namespace content
#endif // CONTENT_PUBLIC_BROWSER_DOWNLOAD_INTERRUPT_REASONS_H_
|