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

Unified Diff: chrome/browser/extensions/window_event_router.h

Issue 10694085: Refactor extension event distribution to use Values instead of JSON strings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing memory leak in a test. Created 8 years, 4 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
« no previous file with comments | « chrome/browser/extensions/system/system_api.cc ('k') | chrome/browser/extensions/window_event_router.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/window_event_router.h
diff --git a/chrome/browser/extensions/window_event_router.h b/chrome/browser/extensions/window_event_router.h
index 17ac0ff420f47965045ff74c00707cfc93c997bf..a185132ec1aa722513d03836bfc4364d11b0febc 100644
--- a/chrome/browser/extensions/window_event_router.h
+++ b/chrome/browser/extensions/window_event_router.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_EXTENSIONS_WINDOW_EVENT_ROUTER_H_
#include "base/basictypes.h"
+#include "base/memory/scoped_ptr.h"
#include "chrome/browser/extensions/window_controller_list_observer.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -65,7 +66,7 @@ class WindowEventRouter : public WindowControllerListObserver,
private:
void DispatchEvent(const char* event_name,
Profile* profile,
- base::ListValue* args);
+ scoped_ptr<base::ListValue> args);
content::NotificationRegistrar registrar_;
bool initialized_;
« no previous file with comments | « chrome/browser/extensions/system/system_api.cc ('k') | chrome/browser/extensions/window_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698