| OLD | NEW |
| 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 #include "components/dom_distiller/core/dom_distiller_store.h" | 5 #include "components/dom_distiller/core/dom_distiller_store.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/bind.h" | 9 #include "base/bind.h" |
| 8 #include "base/location.h" | 10 #include "base/location.h" |
| 9 #include "base/logging.h" | 11 #include "base/logging.h" |
| 10 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
| 11 #include "base/thread_task_runner_handle.h" | 13 #include "base/thread_task_runner_handle.h" |
| 12 #include "components/dom_distiller/core/article_entry.h" | 14 #include "components/dom_distiller/core/article_entry.h" |
| 13 #include "sync/api/sync_change.h" | 15 #include "sync/api/sync_change.h" |
| 14 #include "sync/protocol/article_specifics.pb.h" | 16 #include "sync/protocol/article_specifics.pb.h" |
| 15 #include "sync/protocol/sync.pb.h" | 17 #include "sync/protocol/sync.pb.h" |
| 16 | 18 |
| (...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 result.set_num_items_deleted(0); | 481 result.set_num_items_deleted(0); |
| 480 | 482 |
| 481 result.set_pre_association_version(0); | 483 result.set_pre_association_version(0); |
| 482 result.set_num_items_after_association(model_.GetNumEntries()); | 484 result.set_num_items_after_association(model_.GetNumEntries()); |
| 483 result.set_error(error); | 485 result.set_error(error); |
| 484 | 486 |
| 485 return result; | 487 return result; |
| 486 } | 488 } |
| 487 | 489 |
| 488 } // namespace dom_distiller | 490 } // namespace dom_distiller |
| OLD | NEW |