1 // Copyright (c) 2012 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. 4 5 #include "chrome/browser/extensions/api/api_resource.h" 6 7 namespace extensions { 8 ApiResource(const std::string & owner_extension_id)9ApiResource::ApiResource(const std::string& owner_extension_id) 10 : owner_extension_id_(owner_extension_id) { 11 12 CHECK(!owner_extension_id_.empty()); 13 } 14 ~ApiResource()15ApiResource::~ApiResource() { 16 } 17 IsPersistent() const18bool ApiResource::IsPersistent() const { 19 return true; // backward-compatible behavior. 20 } 21 22 } // namespace extensions 23