Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: sync/test/null_transaction_observer.h

Issue 10700154: Remove #pragma once from sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SYNC_TEST_NULL_TRANSACTION_OBSERVER_H_ 5 #ifndef SYNC_TEST_NULL_TRANSACTION_OBSERVER_H_
6 #define SYNC_TEST_NULL_TRANSACTION_OBSERVER_H_ 6 #define SYNC_TEST_NULL_TRANSACTION_OBSERVER_H_
7 #pragma once
8 7
9 #include "sync/internal_api/public/util/weak_handle.h" 8 #include "sync/internal_api/public/util/weak_handle.h"
10 9
11 namespace syncer { 10 namespace syncer {
12 namespace syncable { 11 namespace syncable {
13 12
14 class TransactionObserver; 13 class TransactionObserver;
15 14
16 // Returns an initialized weak handle to a transaction observer that 15 // Returns an initialized weak handle to a transaction observer that
17 // does nothing. 16 // does nothing.
18 syncer::WeakHandle<TransactionObserver> NullTransactionObserver(); 17 syncer::WeakHandle<TransactionObserver> NullTransactionObserver();
19 18
20 } // namespace syncable 19 } // namespace syncable
21 } // namespace syncer 20 } // namespace syncer
22 21
23 #endif // SYNC_TEST_NULL_TRANSACTION_OBSERVER_H_ 22 #endif // SYNC_TEST_NULL_TRANSACTION_OBSERVER_H_
OLDNEW
« no previous file with comments | « sync/test/null_directory_change_delegate.h ('k') | sync/test/sessions/test_scoped_session_event_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698