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.
5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_TEST_UTIL_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_TEST_UTIL_H_
10 #include "base/memory/ref_counted.h"
12 namespace extensions
{
16 namespace extension_test_util
{
18 // Makes a fake extension id using the given |seed|.
19 std::string
MakeId(std::string seed
);
21 // Return a very simple extension with id |id|.
22 scoped_refptr
<extensions::Extension
> CreateExtensionWithID(std::string id
);
24 } // namespace extension_test_util
26 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_TEST_UTIL_H_