summaryrefslogtreecommitdiff
path: root/chromium/extensions/browser/extension_function_constants.cc
blob: 423a6ba6a4ef74aae0c7cef72543a4a0ea85653c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2018 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.

#include "extensions/browser/extension_function_constants.h"

namespace extensions {
namespace function_constants {

// An error thrown when determining the WebContents that sent the request for
// the API call failed. Note: typically, this would only happen if the
// WebContents disappeared after the API call (i.e., the caller is no longer
// alive, such as a tab closing or background page suspending). For this reason,
// the error is not overly helpful. However, it is important that we have a
// specific error message in order to track down any peculiar cases.
const char kCouldNotFindSenderWebContents[] =
    "Could not find sender WebContents.";

}  // namespace function_constants
}  // namespace extensions