Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / extensions / browser / api / api_resource.cc
blob6e319186a2bf75683a209f9b097a0752428a7697
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "extensions/browser/api/api_resource.h"
7 namespace extensions {
9 ApiResource::ApiResource(const std::string& owner_extension_id)
10 : owner_extension_id_(owner_extension_id) {
12 CHECK(!owner_extension_id_.empty());
15 ApiResource::~ApiResource() {}
17 bool ApiResource::IsPersistent() const {
18 return true; // backward-compatible behavior.
21 } // namespace extensions