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 DictionaryLoadObserver(const base::Closure & quit_task)7DictionaryLoadObserver::DictionaryLoadObserver(const base::Closure& quit_task) 8 : quit_task_(quit_task) { 9 } 10 ~DictionaryLoadObserver()11DictionaryLoadObserver::~DictionaryLoadObserver() { 12 } 13 OnCustomDictionaryLoaded()14void DictionaryLoadObserver::OnCustomDictionaryLoaded() { 15 quit_task_.Run(); 16 } 17 OnCustomDictionaryChanged(const SpellcheckCustomDictionary::Change & dictionary_change)18void DictionaryLoadObserver::OnCustomDictionaryChanged( 19 const SpellcheckCustomDictionary::Change& dictionary_change) { 20 } 21