| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_ANDROID_HISTORY_REPORT_DELTA_FILE_COMMONS_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_HISTORY_REPORT_DELTA_FILE_COMMONS_H_ |
| 6 #define CHROME_BROWSER_ANDROID_HISTORY_REPORT_DELTA_FILE_COMMONS_H_ | 6 #define CHROME_BROWSER_ANDROID_HISTORY_REPORT_DELTA_FILE_COMMONS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 11 #include "chrome/browser/android/proto/delta_file.pb.h" | 11 #include "chrome/browser/android/proto/delta_file.pb.h" |
| 12 #include "components/bookmarks/browser/bookmark_model.h" | 12 #include "components/bookmarks/browser/bookmark_model.h" |
| 13 #include "components/history/core/browser/history_types.h" | 13 #include "components/history/core/browser/history_types.h" |
| 14 | 14 |
| 15 class GURL; | |
| 16 | |
| 17 namespace history_report { | 15 namespace history_report { |
| 18 | 16 |
| 19 // Represents a single delta file entry with additional data. | 17 // Represents a single delta file entry with additional data. |
| 20 class DeltaFileEntryWithData { | 18 class DeltaFileEntryWithData { |
| 21 public: | 19 public: |
| 22 explicit DeltaFileEntryWithData(DeltaFileEntry entry); | 20 explicit DeltaFileEntryWithData(DeltaFileEntry entry); |
| 23 DeltaFileEntryWithData(const DeltaFileEntryWithData& other); | 21 DeltaFileEntryWithData(const DeltaFileEntryWithData& other); |
| 24 ~DeltaFileEntryWithData(); | 22 ~DeltaFileEntryWithData(); |
| 25 | 23 |
| 26 // Returns sequence number of this delta file entry. | 24 // Returns sequence number of this delta file entry. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 DeltaFileEntry entry_; | 63 DeltaFileEntry entry_; |
| 66 bool data_set_; | 64 bool data_set_; |
| 67 history::URLRow data_; | 65 history::URLRow data_; |
| 68 bool is_bookmark_; | 66 bool is_bookmark_; |
| 69 base::string16 bookmark_title_; | 67 base::string16 bookmark_title_; |
| 70 }; | 68 }; |
| 71 | 69 |
| 72 } // namespace history_report | 70 } // namespace history_report |
| 73 | 71 |
| 74 #endif // CHROME_BROWSER_ANDROID_HISTORY_REPORT_DELTA_FILE_COMMONS_H_ | 72 #endif // CHROME_BROWSER_ANDROID_HISTORY_REPORT_DELTA_FILE_COMMONS_H_ |
| OLD | NEW |