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

Unified Diff: chrome/common/extensions/extension.h

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 2 Created 8 years, 7 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/common/extensions/extension.h
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index b1665c6e02b367217886af65210866e08daa5e75..b396c85c3dbe3d4dbfbae49ce7486d3480a8cd27 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -42,14 +42,16 @@ class DictionaryValue;
class ListValue;
}
-namespace extensions {
-class Manifest;
-}
-
namespace webkit_glue {
struct WebIntentServiceData;
}
+FORWARD_DECLARE_TEST(TabStripModelTest, Apps);
+
+namespace extensions {
+
+class Manifest;
+
// Represents a Chrome extension.
class Extension : public base::RefCountedThreadSafe<Extension> {
public:
@@ -1055,7 +1057,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
std::string content_security_policy_;
FRIEND_TEST_ALL_PREFIXES(ExtensionTest, LoadPageActionHelper);
- FRIEND_TEST_ALL_PREFIXES(TabStripModelTest, Apps);
+ FRIEND_TEST_ALL_PREFIXES(::TabStripModelTest, Apps);
DISALLOW_COPY_AND_ASSIGN(Extension);
};
@@ -1117,4 +1119,6 @@ struct UpdatedExtensionPermissionsInfo {
Reason reason);
};
+} // namespace extensions
+
#endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_

Powered by Google App Engine
This is Rietveld 408576698