Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: chrome/common/extensions/extension_test_util.h

Issue 10694056: CPM Extension Uninstall Watching (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Requested changes made Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_TEST_UTIL_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_TEST_UTIL_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_TEST_UTIL_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_TEST_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/ref_counted.h"
12
13 namespace extensions {
14 class Extension;
15 }
16
11 namespace extension_test_util { 17 namespace extension_test_util {
12 18
13 // Makes a fake extension id using the given |seed|. 19 // Makes a fake extension id using the given |seed|.
14 std::string MakeId(std::string seed); 20 std::string MakeId(std::string seed);
15 21
22 // Return a very simple extension with id |id|.
23 scoped_refptr<extensions::Extension> CreateExtensionWithID(std::string id);
24
16 } // namespace extension_test_util 25 } // namespace extension_test_util
17 26
18 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_TEST_UTIL_H_ 27 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_TEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698