Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / sync / test / integration / dictionary_load_observer.cc
blobd901c865fa32e579d5d23d0f7bebbee012449955
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.
5 #include "chrome/browser/sync/test/integration/dictionary_load_observer.h"
7 DictionaryLoadObserver::DictionaryLoadObserver(const base::Closure& quit_task)
8 : quit_task_(quit_task) {
11 DictionaryLoadObserver::~DictionaryLoadObserver() {
14 void DictionaryLoadObserver::OnCustomDictionaryLoaded() {
15 quit_task_.Run();
18 void DictionaryLoadObserver::OnCustomDictionaryChanged(
19 const SpellcheckCustomDictionary::Change& dictionary_change) {