Index: components/wifi_sync/fake_wifi_config_delegate.cc |
diff --git a/components/wifi_sync/fake_wifi_config_delegate.cc b/components/wifi_sync/fake_wifi_config_delegate.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ffb0586305179edf55b13c0a763fe5be54b85f6a |
--- /dev/null |
+++ b/components/wifi_sync/fake_wifi_config_delegate.cc |
@@ -0,0 +1,18 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "components/wifi_sync/fake_wifi_config_delegate.h" |
+ |
+namespace wifi_sync { |
+ |
+FakeWifiConfigDelegate::FakeWifiConfigDelegate() |
+ : add_count_(0) { |
+} |
+ |
+void FakeWifiConfigDelegate::AddToLocalNetworks( |
+ const WifiCredential& network_credential) { |
+ ++add_count_; |
+} |
+ |
+} // namespace wifi_sync |