summaryrefslogtreecommitdiff
path: root/chromium/extensions/browser/blocked_action_type.h
blob: 4b008c0d8ee40a36c26a8d92dbe60442c8866ac5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2016 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 EXTENSIONS_BROWSER_BLOCKED_ACTION_TYPE_H_
#define EXTENSIONS_BROWSER_BLOCKED_ACTION_TYPE_H_

namespace extensions {

// Types of actions that an extension can perform that can be blocked (typically
// while waiting for user action).
enum BlockedActionType {
  BLOCKED_ACTION_NONE = 0,
  BLOCKED_ACTION_SCRIPT_AT_START = 1 << 0,
  BLOCKED_ACTION_SCRIPT_OTHER = 1 << 1,
  BLOCKED_ACTION_WEB_REQUEST = 1 << 2,
};

}  // namespace extensions

#endif  // EXTENSIONS_BROWSER_BLOCKED_ACTION_TYPE_H_