OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <algorithm> | 5 #include <algorithm> |
6 #include <limits> | 6 #include <limits> |
7 | 7 |
8 #include "chrome/browser/webdata/web_database.h" | 8 #include "chrome/browser/webdata/web_database.h" |
9 | 9 |
10 #include "base/gfx/png_decoder.h" | 10 #include "base/gfx/png_decoder.h" |
(...skipping 55 matching lines...) Loading... |
66 // width Width of the image. | 66 // width Width of the image. |
67 // height Height of the image. | 67 // height Height of the image. |
68 // image PNG encoded image data. | 68 // image PNG encoded image data. |
69 // | 69 // |
70 // web_apps | 70 // web_apps |
71 // url URL of the web app. | 71 // url URL of the web app. |
72 // has_all_images Do we have all the images? | 72 // has_all_images Do we have all the images? |
73 // | 73 // |
74 //////////////////////////////////////////////////////////////////////////////// | 74 //////////////////////////////////////////////////////////////////////////////// |
75 | 75 |
| 76 using base::Time; |
| 77 |
76 // Current version number. | 78 // Current version number. |
77 static const int kCurrentVersionNumber = 21; | 79 static const int kCurrentVersionNumber = 21; |
78 | 80 |
79 // Keys used in the meta table. | 81 // Keys used in the meta table. |
80 static const char* kDefaultSearchProviderKey = "Default Search Provider ID"; | 82 static const char* kDefaultSearchProviderKey = "Default Search Provider ID"; |
81 static const char* kBuiltinKeywordVersion = "Builtin Keyword Version"; | 83 static const char* kBuiltinKeywordVersion = "Builtin Keyword Version"; |
82 | 84 |
83 std::string JoinStrings(const std::string& separator, | 85 std::string JoinStrings(const std::string& separator, |
84 const std::vector<std::string>& strings) { | 86 const std::vector<std::string>& strings) { |
85 if (strings.empty()) | 87 if (strings.empty()) |
(...skipping 790 matching lines...) Loading... |
876 | 878 |
877 // Add successive versions here. Each should set the version number and | 879 // Add successive versions here. Each should set the version number and |
878 // compatible version number as appropriate, then fall through to the next | 880 // compatible version number as appropriate, then fall through to the next |
879 // case. | 881 // case. |
880 | 882 |
881 case kCurrentVersionNumber: | 883 case kCurrentVersionNumber: |
882 // No migration needed. | 884 // No migration needed. |
883 return; | 885 return; |
884 } | 886 } |
885 } | 887 } |
886 | |
OLD | NEW |