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

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: Latest master for cq 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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h"
11
12 namespace extensions {
13 class Extension;
14 }
15
10 namespace extension_test_util { 16 namespace extension_test_util {
11 17
12 // Makes a fake extension id using the given |seed|. 18 // Makes a fake extension id using the given |seed|.
13 std::string MakeId(std::string seed); 19 std::string MakeId(std::string seed);
14 20
21 // Return a very simple extension with id |id|.
22 scoped_refptr<extensions::Extension> CreateExtensionWithID(std::string id);
23
15 } // namespace extension_test_util 24 } // namespace extension_test_util
16 25
17 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_TEST_UTIL_H_ 26 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_notification_types.h ('k') | chrome/common/extensions/extension_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698