chromium/chrome/common/extensions/extension_test_util.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/common/extensions/extension_test_util.h"

#include <memory>

#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/json/json_file_value_serializer.h"
#include "base/path_service.h"
#include "base/values.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
#include "extensions/common/extension.h"
#include "extensions/common/extensions_client.h"
#include "extensions/common/manifest_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"

Extension;
Manifest;
ManifestLocation;

namespace extension_test_util {

scoped_refptr<Extension> LoadManifestUnchecked(const std::string& dir,
                                               const std::string& test_file,
                                               ManifestLocation location,
                                               int extra_flags,
                                               const std::string& id,
                                               std::string* error) {}

scoped_refptr<Extension> LoadManifestUnchecked(const std::string& dir,
                                               const std::string& test_file,
                                               ManifestLocation location,
                                               int extra_flags,
                                               std::string* error) {}

scoped_refptr<Extension> LoadManifest(const std::string& dir,
                                      const std::string& test_file,
                                      ManifestLocation location,
                                      int extra_flags) {}

scoped_refptr<Extension> LoadManifest(const std::string& dir,
                                      const std::string& test_file,
                                      int extra_flags) {}

scoped_refptr<Extension> LoadManifestStrict(const std::string& dir,
                                            const std::string& test_file) {}

scoped_refptr<Extension> LoadManifest(const std::string& dir,
                                      const std::string& test_file) {}

void SetGalleryUpdateURL(const GURL& new_url) {}

// Note: This list should be kept in sync with the set of all features which
// have delegated availability checks. This includes controlled_frame and
// webstore_overide.
std::vector<const char*> GetExpectedDelegatedFeaturesForTest() {}

}  // namespace extension_test_util