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

Side by Side Diff: sql/test/scoped_error_ignorer.h

Issue 1133053004: sql: Remove basictypes.h includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: shess review Created 5 years, 7 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
« no previous file with comments | « sql/statement.cc ('k') | sql/test/test_helpers.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 SQL_TEST_SCOPED_ERROR_IGNORER_H_ 5 #ifndef SQL_TEST_SCOPED_ERROR_IGNORER_H_
6 #define SQL_TEST_SCOPED_ERROR_IGNORER_H_ 6 #define SQL_TEST_SCOPED_ERROR_IGNORER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/macros.h"
11 #include "sql/connection.h" 11 #include "sql/connection.h"
12 12
13 // This is not strictly necessary for the operation of ScopedErrorIgnorer, but 13 // This is not strictly necessary for the operation of ScopedErrorIgnorer, but
14 // the class is not useful without the SQLite error codes. 14 // the class is not useful without the SQLite error codes.
15 #include "third_party/sqlite/sqlite3.h" 15 #include "third_party/sqlite/sqlite3.h"
16 16
17 // TODO(shess): sql::test:: seems like it could be in order for this. 17 // TODO(shess): sql::test:: seems like it could be in order for this.
18 namespace sql { 18 namespace sql {
19 19
20 // sql::Connection and sql::Statement treat most SQLite errors as 20 // sql::Connection and sql::Statement treat most SQLite errors as
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 // Errors which have been ignored. 65 // Errors which have been ignored.
66 std::set<int> errors_ignored_; 66 std::set<int> errors_ignored_;
67 67
68 DISALLOW_COPY_AND_ASSIGN(ScopedErrorIgnorer); 68 DISALLOW_COPY_AND_ASSIGN(ScopedErrorIgnorer);
69 }; 69 };
70 70
71 } // namespace sql 71 } // namespace sql
72 72
73 #endif // SQL_TEST_SCOPED_ERROR_IGNORER_H_ 73 #endif // SQL_TEST_SCOPED_ERROR_IGNORER_H_
OLDNEW
« no previous file with comments | « sql/statement.cc ('k') | sql/test/test_helpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698