Home | History | Annotate | Download | only in test
      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 "sync/test/null_transaction_observer.h"
      6 
      7 #include "base/memory/weak_ptr.h"
      8 
      9 namespace syncer {
     10 namespace syncable {
     11 
     12 WeakHandle<TransactionObserver> NullTransactionObserver() {
     13   return MakeWeakHandle(base::WeakPtr<TransactionObserver>());
     14 }
     15 
     16 }  // namespace syncable
     17 }  // namespace syncer
     18