BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / chrome / browser / chromeos / file_system_provider / operations / test_util.cc
blob276d9944fc5638beb98daa6858500fb6e3fae1e2
1 // Copyright 2014 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/chromeos/file_system_provider/operations/test_util.h"
6 #include "extensions/browser/event_router.h"
8 namespace chromeos {
9 namespace file_system_provider {
10 namespace operations {
11 namespace util {
13 LoggingDispatchEventImpl::LoggingDispatchEventImpl(bool dispatch_reply)
14 : dispatch_reply_(dispatch_reply) {
17 LoggingDispatchEventImpl::~LoggingDispatchEventImpl() {
20 bool LoggingDispatchEventImpl::OnDispatchEventImpl(
21 scoped_ptr<extensions::Event> event) {
22 events_.push_back(event->DeepCopy());
23 return dispatch_reply_;
26 void LogStatusCallback(StatusCallbackLog* log, base::File::Error result) {
27 log->push_back(result);
30 } // namespace util
31 } // namespace operations
32 } // namespace file_system_provider
33 } // namespace chromeos