Index: chrome/browser/sync/test/integration/dictionary_load_observer.cc |
diff --git a/chrome/browser/sync/test/integration/dictionary_load_observer.cc b/chrome/browser/sync/test/integration/dictionary_load_observer.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8e197a76505f721cd12718abf8b1391b8d5c9d56 |
--- /dev/null |
+++ b/chrome/browser/sync/test/integration/dictionary_load_observer.cc |
@@ -0,0 +1,24 @@ |
+// Copyright (c) 2012 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 "chrome/browser/sync/test/integration/dictionary_load_observer.h" |
+ |
+DictionaryLoadObserver::DictionaryLoadObserver(const base::Closure& quit_task) |
+ : quit_task_(quit_task) { |
+} |
+ |
+DictionaryLoadObserver::~DictionaryLoadObserver() { |
+} |
+ |
+void DictionaryLoadObserver::OnCustomDictionaryLoaded() { |
+ quit_task_.Run(); |
+} |
+ |
+void DictionaryLoadObserver::OnCustomDictionaryWordsAdded( |
+ const chrome::spellcheck_common::WordList& words) { |
+} |
+ |
+void DictionaryLoadObserver::OnCustomDictionaryWordsRemoved( |
+ const chrome::spellcheck_common::WordList& words) { |
+} |