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

Unified Diff: sync/syncable/syncable_read_transaction.h

Issue 11412211: [sync] Componentize sync: Part Final: Target 'sync' is now its own component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address more CR feedback Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: sync/syncable/syncable_read_transaction.h
diff --git a/sync/syncable/syncable_read_transaction.h b/sync/syncable/syncable_read_transaction.h
index ecaf59b1b86655ff2a78b489c13c1b909c8befe8..9d60b9722284ae4994f38e242e9db6d727601255 100644
--- a/sync/syncable/syncable_read_transaction.h
+++ b/sync/syncable/syncable_read_transaction.h
@@ -1,10 +1,11 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SYNC_SYNCABLE_SYNCABLE_READ_TRANSACTION_H_
#define SYNC_SYNCABLE_SYNCABLE_READ_TRANSACTION_H_
+#include "base/compiler_specific.h"
#include "sync/base/sync_export.h"
#include "sync/syncable/syncable_base_transaction.h"
@@ -13,7 +14,8 @@ class ReadTransaction;
namespace syncable {
// Locks db in constructor, unlocks in destructor.
-class SYNC_EXPORT_PRIVATE ReadTransaction : public BaseTransaction {
+class SYNC_EXPORT_PRIVATE ReadTransaction
+ : public NON_EXPORTED_BASE(BaseTransaction) {
public:
ReadTransaction(const tracked_objects::Location& from_here,
Directory* directory);

Powered by Google App Engine
This is Rietveld 408576698