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