Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: chrome/browser/chromeos/drive/drive_test_util.cc

Issue 11348030: Revert 164876 - Set root resource ID upon full feed update. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chromeos/drive/drive_resource_metadata_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/drive_resource_metadata_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698