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