| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_HISTORY_CORE_BROWSER_URL_ROW_H_ | 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_URL_ROW_H_ |
| 6 #define COMPONENTS_HISTORY_CORE_BROWSER_URL_ROW_H_ | 6 #define COMPONENTS_HISTORY_CORE_BROWSER_URL_ROW_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include <stdint.h> |
| 9 |
| 9 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 10 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 11 #include "components/query_parser/snippet.h" | 12 #include "components/query_parser/snippet.h" |
| 12 #include "url/gurl.h" | 13 #include "url/gurl.h" |
| 13 | 14 |
| 14 namespace history { | 15 namespace history { |
| 15 | 16 |
| 16 typedef int64 URLID; | 17 typedef int64_t URLID; |
| 17 | 18 |
| 18 // Holds all information globally associated with one URL (one row in the | 19 // Holds all information globally associated with one URL (one row in the |
| 19 // URL table). | 20 // URL table). |
| 20 // | 21 // |
| 21 // This keeps track of dirty bits, which are currently unused: | 22 // This keeps track of dirty bits, which are currently unused: |
| 22 // | 23 // |
| 23 // TODO(brettw) the dirty bits are broken in a number of respects. First, the | 24 // TODO(brettw) the dirty bits are broken in a number of respects. First, the |
| 24 // database will want to update them on a const object, so they need to be | 25 // database will want to update them on a const object, so they need to be |
| 25 // mutable. | 26 // mutable. |
| 26 // | 27 // |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 | 203 |
| 203 // Whether a managed user was blocked when attempting to visit this URL. | 204 // Whether a managed user was blocked when attempting to visit this URL. |
| 204 bool blocked_visit_; | 205 bool blocked_visit_; |
| 205 | 206 |
| 206 // We support the implicit copy constructor and operator=. | 207 // We support the implicit copy constructor and operator=. |
| 207 }; | 208 }; |
| 208 | 209 |
| 209 } // namespace history | 210 } // namespace history |
| 210 | 211 |
| 211 #endif // COMPONENTS_HISTORY_CORE_BROWSER_URL_ROW_H_ | 212 #endif // COMPONENTS_HISTORY_CORE_BROWSER_URL_ROW_H_ |
| OLD | NEW |