C++程序  |  23行  |  643 B

// 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_MEDIA_REQUEST_STATE_H_
#define CONTENT_PUBLIC_BROWSER_MEDIA_REQUEST_STATE_H_

namespace content {

enum MediaRequestState {
  MEDIA_REQUEST_STATE_NOT_REQUESTED = 0,
  MEDIA_REQUEST_STATE_REQUESTED,
  MEDIA_REQUEST_STATE_PENDING_APPROVAL,
  MEDIA_REQUEST_STATE_OPENING,
  MEDIA_REQUEST_STATE_DONE,
  MEDIA_REQUEST_STATE_CLOSING,
  MEDIA_REQUEST_STATE_ERROR
};

}  // namespace content

#endif  // CONTENT_PUBLIC_BROWSER_MEDIA_REQUEST_STATE_H_