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

Unified Diff: chrome/browser/local_discovery/privet_notifications_unittest.cc

Issue 23475049: Replace includes with forward declarations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/browser/local_discovery/privet_notifications_unittest.cc
diff --git a/chrome/browser/local_discovery/privet_notifications_unittest.cc b/chrome/browser/local_discovery/privet_notifications_unittest.cc
index e0d6a524dab3effdc4405f052dd5874c87f1881b..2c8928957b125a1e612faa1822247a5b0acc7415 100644
--- a/chrome/browser/local_discovery/privet_notifications_unittest.cc
+++ b/chrome/browser/local_discovery/privet_notifications_unittest.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "chrome/browser/local_discovery/privet_http_asynchronous_factory.h"
+
#include "chrome/browser/local_discovery/privet_notifications.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -98,7 +100,7 @@ class MockPrivetHTTPClient : public PrivetHTTPClient {
class MockPrivetHttpFactory : public PrivetHTTPAsynchronousFactory {
public:
- class MockResolution : public Resolution {
+ class MockResolution : public PrivetHTTPResolution {
public:
MockResolution(
const std::string& name,
@@ -127,11 +129,11 @@ class MockPrivetHttpFactory : public PrivetHTTPAsynchronousFactory {
: delegate_for_tests_(delegate_for_tests) {
}
- virtual scoped_ptr<Resolution> CreatePrivetHTTP(
+ virtual scoped_ptr<PrivetHTTPResolution> CreatePrivetHTTP(
const std::string& name,
const net::HostPortPair& address,
const ResultCallback& callback) OVERRIDE {
- return scoped_ptr<Resolution>(
+ return scoped_ptr<PrivetHTTPResolution>(
new MockResolution(name, delegate_for_tests_, callback));
}

Powered by Google App Engine
This is Rietveld 408576698