ServiceWorker: Consolidate version manipulation functions in SWProviderContext
[chromium-blink-merge.git] / sync / test / null_transaction_observer.cc
blobabd99b0154ba7b8f0f445961e88edb3eb50a307d
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 "sync/test/null_transaction_observer.h"
7 #include "base/memory/weak_ptr.h"
9 namespace syncer {
10 namespace syncable {
12 WeakHandle<TransactionObserver> NullTransactionObserver() {
13 return MakeWeakHandle(base::WeakPtr<TransactionObserver>());
16 } // namespace syncable
17 } // namespace syncer