root/extensions/browser/api/api_resource.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. IsPersistent

// 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

/* [<][>][^][v][top][bottom][index][help] */