Index: chrome/browser/extensions/api/screenlock_private/screenlock_private_api.h |
diff --git a/chrome/browser/extensions/api/screenlock_private/screenlock_private_api.h b/chrome/browser/extensions/api/screenlock_private/screenlock_private_api.h |
index ee2ff05181839d3e880ee67bc75ab5a79384feda..b08d043a08753c134195929c6fa11a278063bddf 100644 |
--- a/chrome/browser/extensions/api/screenlock_private/screenlock_private_api.h |
+++ b/chrome/browser/extensions/api/screenlock_private/screenlock_private_api.h |
@@ -5,6 +5,7 @@ |
#ifndef CHROME_BROWSER_EXTENSIONS_API_SCREENLOCK_PRIVATE_SCREENLOCK_PRIVATE_API_H_ |
#define CHROME_BROWSER_EXTENSIONS_API_SCREENLOCK_PRIVATE_SCREENLOCK_PRIVATE_API_H_ |
+#include <memory> |
#include <string> |
#include "base/macros.h" |
@@ -88,7 +89,7 @@ class ScreenlockPrivateEventRouter |
void DispatchEvent(events::HistogramValue histogram_value, |
const std::string& event_name, |
- base::Value* arg); |
+ std::unique_ptr<base::Value> arg); |
content::BrowserContext* browser_context_; |
DISALLOW_COPY_AND_ASSIGN(ScreenlockPrivateEventRouter); |