blob: 6e319186a2bf75683a209f9b097a0752428a7697 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright 2014 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/api/api_resource.h"
namespace extensions {
ApiResource::ApiResource(const std::string& owner_extension_id)
: owner_extension_id_(owner_extension_id) {
CHECK(!owner_extension_id_.empty());
}
ApiResource::~ApiResource() {}
bool ApiResource::IsPersistent() const {
return true; // backward-compatible behavior.
}
} // namespace extensions
|