Index: extensions/browser/api/sockets_tcp/sockets_tcp_api_unittest.cc |
diff --git a/extensions/browser/api/sockets_tcp/sockets_tcp_api_unittest.cc b/extensions/browser/api/sockets_tcp/sockets_tcp_api_unittest.cc |
index de1afc3eb7ee77107d0538d2f5992508467a5a8c..6bd9fe1711a7c836a13686f9e5d1fc980cb8e7ae 100644 |
--- a/extensions/browser/api/sockets_tcp/sockets_tcp_api_unittest.cc |
+++ b/extensions/browser/api/sockets_tcp/sockets_tcp_api_unittest.cc |
@@ -2,6 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "base/memory/scoped_ptr.h" |
#include "base/values.h" |
#include "content/public/test/test_browser_context.h" |
#include "extensions/browser/api/api_resource_manager.h" |
@@ -15,7 +16,7 @@ |
namespace extensions { |
namespace core_api { |
-static KeyedService* ApiResourceManagerTestFactory( |
+static scoped_ptr<KeyedService> ApiResourceManagerTestFactory( |
content::BrowserContext* context) { |
content::BrowserThread::ID id; |
CHECK(content::BrowserThread::GetCurrentThreadIdentifier(&id)); |