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..f78a21394db1c0073b44ccb541b2770911a8f17d |
--- /dev/null |
+++ b/components/wifi_sync/fake_wifi_config_delegate.cc |
@@ -0,0 +1,18 @@ |
+// Copyright 2014 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 |