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

Side by Side Diff: webkit/appcache/appcache_database.cc

Issue 7353026: Move app/sql/* files to sql/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 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
« no previous file with comments | « webkit/DEPS ('k') | webkit/appcache/appcache_database_unittest.cc » ('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 (c) 2010 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 #include "webkit/appcache/appcache_database.h" 5 #include "webkit/appcache/appcache_database.h"
6 6
7 #include "app/sql/connection.h"
8 #include "app/sql/diagnostic_error_delegate.h"
9 #include "app/sql/meta_table.h"
10 #include "app/sql/statement.h"
11 #include "app/sql/transaction.h"
12 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
13 #include "base/file_util.h" 8 #include "base/file_util.h"
14 #include "base/logging.h" 9 #include "base/logging.h"
15 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "sql/connection.h"
12 #include "sql/diagnostic_error_delegate.h"
13 #include "sql/meta_table.h"
14 #include "sql/statement.h"
15 #include "sql/transaction.h"
16 #include "webkit/appcache/appcache_entry.h" 16 #include "webkit/appcache/appcache_entry.h"
17 #include "webkit/appcache/appcache_histograms.h" 17 #include "webkit/appcache/appcache_histograms.h"
18 18
19 // Schema ------------------------------------------------------------------- 19 // Schema -------------------------------------------------------------------
20 namespace { 20 namespace {
21 21
22 const int kCurrentVersion = 3; 22 const int kCurrentVersion = 3;
23 const int kCompatibleVersion = 3; 23 const int kCompatibleVersion = 3;
24 24
25 const char* kGroupsTable = "Groups"; 25 const char* kGroupsTable = "Groups";
(...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1131 1131
1132 // So we can't go recursive. 1132 // So we can't go recursive.
1133 if (is_recreating_) 1133 if (is_recreating_)
1134 return false; 1134 return false;
1135 1135
1136 AutoReset<bool> auto_reset(&is_recreating_, true); 1136 AutoReset<bool> auto_reset(&is_recreating_, true);
1137 return LazyOpen(true); 1137 return LazyOpen(true);
1138 } 1138 }
1139 1139
1140 } // namespace appcache 1140 } // namespace appcache
OLDNEW
« no previous file with comments | « webkit/DEPS ('k') | webkit/appcache/appcache_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698