1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "chrome/browser/sync/test/integration/dictionary_load_observer.h" 6 7 DictionaryLoadObserver::DictionaryLoadObserver(const base::Closure& quit_task) 8 : quit_task_(quit_task) { 9 } 10 11 DictionaryLoadObserver::~DictionaryLoadObserver() { 12 } 13 14 void DictionaryLoadObserver::OnCustomDictionaryLoaded() { 15 quit_task_.Run(); 16 } 17 18 void DictionaryLoadObserver::OnCustomDictionaryChanged( 19 const SpellcheckCustomDictionary::Change& dictionary_change) { 20 } 21