| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/chromeos/drive/drive_test_util.h" | 5 #include "chrome/browser/chromeos/drive/drive_test_util.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/json/json_file_value_serializer.h" | 9 #include "base/json/json_file_value_serializer.h" |
| 10 #include "chrome/browser/chromeos/drive/drive.pb.h" | 10 #include "chrome/browser/chromeos/drive/drive.pb.h" |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 ASSERT_TRUE(document.get()); | 116 ASSERT_TRUE(document.get()); |
| 117 ASSERT_TRUE(document->GetType() == Value::TYPE_DICTIONARY); | 117 ASSERT_TRUE(document->GetType() == Value::TYPE_DICTIONARY); |
| 118 scoped_ptr<google_apis::DocumentFeed> document_feed( | 118 scoped_ptr<google_apis::DocumentFeed> document_feed( |
| 119 google_apis::DocumentFeed::ExtractAndParse(*document)); | 119 google_apis::DocumentFeed::ExtractAndParse(*document)); |
| 120 ASSERT_TRUE(document_feed.get()); | 120 ASSERT_TRUE(document_feed.get()); |
| 121 ScopedVector<google_apis::DocumentFeed> feed_list; | 121 ScopedVector<google_apis::DocumentFeed> feed_list; |
| 122 feed_list.push_back(document_feed.release()); | 122 feed_list.push_back(document_feed.release()); |
| 123 | 123 |
| 124 file_system->feed_loader()->UpdateFromFeed(feed_list, | 124 file_system->feed_loader()->UpdateFromFeed(feed_list, |
| 125 start_changestamp, | 125 start_changestamp, |
| 126 root_feed_changestamp, | 126 root_feed_changestamp); |
| 127 // root_resource_id | |
| 128 "folder:testroot"); | |
| 129 } | 127 } |
| 130 | 128 |
| 131 } // namespace test_util | 129 } // namespace test_util |
| 132 } // namespace drive | 130 } // namespace drive |
| OLD | NEW |