| OLD | NEW |
| 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 CHROME_BROWSER_PREDICTORS_PREDICTOR_TABLE_BASE_H_ | 5 #ifndef CHROME_BROWSER_PREDICTORS_PREDICTOR_TABLE_BASE_H_ |
| 6 #define CHROME_BROWSER_PREDICTORS_PREDICTOR_TABLE_BASE_H_ | 6 #define CHROME_BROWSER_PREDICTORS_PREDICTOR_TABLE_BASE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 9 #include "base/synchronization/cancellation_flag.h" | 10 #include "base/synchronization/cancellation_flag.h" |
| 10 | 11 |
| 11 namespace sql { | 12 namespace sql { |
| 12 class Connection; | 13 class Connection; |
| 13 } | 14 } |
| 14 | 15 |
| 15 namespace predictors { | 16 namespace predictors { |
| 16 | 17 |
| 17 // Base class for all tables in the PredictorDatabase. | 18 // Base class for all tables in the PredictorDatabase. |
| (...skipping 22 matching lines...) Expand all Loading... |
| 40 friend class base::RefCountedThreadSafe<PredictorTableBase>; | 41 friend class base::RefCountedThreadSafe<PredictorTableBase>; |
| 41 | 42 |
| 42 sql::Connection* db_; | 43 sql::Connection* db_; |
| 43 | 44 |
| 44 DISALLOW_COPY_AND_ASSIGN(PredictorTableBase); | 45 DISALLOW_COPY_AND_ASSIGN(PredictorTableBase); |
| 45 }; | 46 }; |
| 46 | 47 |
| 47 } // namespace predictors | 48 } // namespace predictors |
| 48 | 49 |
| 49 #endif // CHROME_BROWSER_PREDICTORS_PREDICTOR_TABLE_BASE_H_ | 50 #endif // CHROME_BROWSER_PREDICTORS_PREDICTOR_TABLE_BASE_H_ |
| OLD | NEW |