summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/convert_user_script.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/convert_user_script.h')
-rw-r--r--chrome/browser/extensions/convert_user_script.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/extensions/convert_user_script.h b/chrome/browser/extensions/convert_user_script.h
index d779de0..d392c4d 100644
--- a/chrome/browser/extensions/convert_user_script.h
+++ b/chrome/browser/extensions/convert_user_script.h
@@ -8,8 +8,6 @@
#include <string>
-#include "base/ref_counted.h"
-
class Extension;
class FilePath;
class GURL;
@@ -19,7 +17,8 @@ class GURL;
// should take ownership on success, or NULL and |error| on failure.
//
// NOTE: This function does file IO and should not be called on the UI thread.
-scoped_refptr<Extension> ConvertUserScriptToExtension(
- const FilePath& user_script, const GURL& original_url, std::string* error);
+Extension* ConvertUserScriptToExtension(const FilePath& user_script,
+ const GURL& original_url,
+ std::string* error);
#endif // CHROME_BROWSER_EXTENSIONS_CONVERT_USER_SCRIPT_H_