| OLD | NEW | 
|   1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |   1 // Copyright (c) 2011 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 APP_SQL_TRANSACTION_H_ |   5 #ifndef SQL_TRANSACTION_H_ | 
|   6 #define APP_SQL_TRANSACTION_H_ |   6 #define SQL_TRANSACTION_H_ | 
|   7 #pragma once |   7 #pragma once | 
|   8  |   8  | 
|   9 #include "base/basictypes.h" |   9 #include "base/basictypes.h" | 
|  10  |  10  | 
|  11 namespace sql { |  11 namespace sql { | 
|  12  |  12  | 
|  13 class Connection; |  13 class Connection; | 
|  14  |  14  | 
|  15 class Transaction { |  15 class Transaction { | 
|  16  public: |  16  public: | 
| (...skipping 30 matching lines...) Expand all  Loading... | 
|  47  |  47  | 
|  48   // True when the transaction is open, false when it's already been committed |  48   // True when the transaction is open, false when it's already been committed | 
|  49   // or rolled back. |  49   // or rolled back. | 
|  50   bool is_open_; |  50   bool is_open_; | 
|  51  |  51  | 
|  52   DISALLOW_COPY_AND_ASSIGN(Transaction); |  52   DISALLOW_COPY_AND_ASSIGN(Transaction); | 
|  53 }; |  53 }; | 
|  54  |  54  | 
|  55 }  // namespace sql |  55 }  // namespace sql | 
|  56  |  56  | 
|  57 #endif  // APP_SQL_TRANSACTION_H_ |  57 #endif  // SQL_TRANSACTION_H_ | 
| OLD | NEW |