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

Unified Diff: chrome/renderer/localized_error.h

Issue 6242010: Refactor away most of ExtensionRendererInfo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove more deadness Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/localized_error.h
diff --git a/chrome/renderer/localized_error.h b/chrome/renderer/localized_error.h
index 1ea1c36974bc95f3832236dc484a9c1b1ca033ce..d955d00fc011bdff58e795c9ec89549b90bc75af 100644
--- a/chrome/renderer/localized_error.h
+++ b/chrome/renderer/localized_error.h
@@ -9,9 +9,10 @@
#include <string>
#include "base/basictypes.h"
+#include "base/ref_counted.h"
class DictionaryValue;
-class ExtensionRendererInfo;
+class Extension;
class GURL;
namespace WebKit {
@@ -41,7 +42,7 @@ class LocalizedError {
// part of the app.
static void GetAppErrorStrings(const WebKit::WebURLError& error,
const GURL& display_url,
- const ExtensionRendererInfo* app,
+ const scoped_refptr<const Extension>& app,
Matt Perry 2011/01/24 20:08:34 raw pointer here too?
Aaron Boodman 2011/01/25 00:27:33 Done.
DictionaryValue* error_strings);
static const char kHttpErrorDomain[];

Powered by Google App Engine
This is Rietveld 408576698