Searched defs:folder_id (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium_org/chrome/browser/sync/test/integration/
H A Dsync_app_list_helper.cc128 const std::string& folder_id) {
132 service->model()->top_level_item_list()->item_at(index), folder_id);
137 const std::string& folder_id) {
140 AppListFolderItem* folder = service->model()->FindFolderItem(folder_id);
142 LOG(ERROR) << "Folder not found: " << folder_id;
126 MoveAppToFolder(Profile* profile, size_t index, const std::string& folder_id) argument
135 MoveAppFromFolder(Profile* profile, size_t index_in_folder, const std::string& folder_id) argument
H A Dtwo_client_app_list_sync_test.cc517 std::string folder_id = "Folder 0"; local
519 GetProfile(0), index, folder_id);
521 verifier(), index, folder_id); local
542 std::string folder_id = "Folder 0"; local
548 GetProfile(0), item_index, folder_id);
550 verifier(), item_index, folder_id); local
557 GetProfile(0), 0, folder_id);
559 verifier(), 0, folder_id); local
567 GetProfile(0), 0, folder_id);
569 verifier(), 0, folder_id); local
580 verifier(), item_index, folder_id); local
[all...]
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
H A Dregister_app_task.cc104 const std::string& folder_id,
102 DidCreateAppRootFolder( const SyncStatusCallback& callback, const std::string& folder_id, SyncStatusCode status) argument
H A Dconflict_resolver_unittest.cc138 std::string folder_id; local
141 parent_folder_id, title, &folder_id));
142 return folder_id;
H A Dfake_drive_service_helper.cc68 std::string* folder_id) {
70 GDataErrorCode error = AddFolder(root_folder_id, title, folder_id);
76 root_folder_id, *folder_id,
80 if (error != google_apis::HTTP_NO_CONTENT && folder_id)
88 std::string* folder_id) {
97 if (error == google_apis::HTTP_CREATED && folder_id)
98 *folder_id = folder->file_id();
236 const std::string& folder_id,
241 folder_id,
251 const std::string& folder_id,
66 AddOrphanedFolder( const std::string& title, std::string* folder_id) argument
85 AddFolder( const std::string& parent_folder_id, const std::string& title, std::string* folder_id) argument
235 ListFilesInFolder( const std::string& folder_id, ScopedVector<ResourceEntry>* entries) argument
250 SearchByTitle( const std::string& folder_id, const std::string& title, ScopedVector<ResourceEntry>* entries) argument
[all...]
H A Dlist_changes_task_unittest.cc103 void SetUpChangesInFolder(const std::string& folder_id) { argument
107 folder_id, "new file", "file contents", &new_file_id));
111 folder_id, "new file", "file contents",
117 folder_id, "new folder", &new_folder_id));
122 folder_id, "modified file", "file content",
132 folder_id, "trashed file", "file content",
H A Dlocal_to_remote_syncer_unittest.cc144 std::string folder_id; local
147 parent_folder_id, title, &folder_id));
148 return folder_id;
288 std::string folder_id = GetFileIDForParentAndTitle(app_root, "folder"); local
289 ASSERT_FALSE(folder_id.empty());
296 folder_id, "file2", google_apis::ResourceEntry::ENTRY_KIND_FILE);
502 const std::string folder_id = CreateRemoteFolder(app_root, "foo"); local
516 EXPECT_TRUE(folder_id == entries[0]->resource_id() ||
517 folder_id == entries[1]->resource_id());
521 folder_id,
[all...]
H A Dremote_to_local_syncer_unittest.cc145 std::string folder_id; local
148 parent_folder_id, title, &folder_id));
149 return folder_id;
H A Dremote_to_local_syncer.cc52 const std::string& folder_id) {
54 if (details.parent_folder_ids(i) == folder_id)
51 HasFolderAsParent(const FileDetails& details, const std::string& folder_id) argument
H A Ddrive_backend_sync_unittest.cc181 std::string* folder_id) {
197 *folder_id = tracker.file_id();
446 const std::string& folder_id,
453 folder_id, &remote_entries));
933 std::string folder_id = GetFileIDByPath(app_id, FPL("folder_src")); local
941 folder_id, file_orphaned_id));
944 folder_id, file_under_sync_root_id));
947 folder_id, file_under_drive_root_id));
1011 std::string folder_id = GetFileIDByPath(app_id, FPL("folder")); local
1015 folder_id, file_i
180 GetAppRootFolderID(const std::string& app_id, std::string* folder_id) argument
444 VerifyConsistencyForFolder(const std::string& app_id, const base::FilePath& path, const std::string& folder_id, CannedSyncableFileSystem* file_system) argument
[all...]
H A Dmetadata_database_unittest.cc555 const std::string& folder_id) {
556 return metadata_database_->RegisterApp(app_id, folder_id);
577 SyncStatusCode PopulateFolder(const std::string& folder_id, argument
580 folder_id, listed_children);
554 RegisterApp(const std::string& app_id, const std::string& folder_id) argument
H A Dmetadata_database.cc639 const std::string& folder_id) {
645 TrackerIDSet trackers = index_->GetFileTrackerIDsByFileID(folder_id);
977 const std::string& folder_id,
979 TrackerIDSet trackers = index_->GetFileTrackerIDsByFileID(folder_id);
638 RegisterApp(const std::string& app_id, const std::string& folder_id) argument
976 PopulateFolderByChildList( const std::string& folder_id, const FileIDList& child_file_ids) argument
/external/chromium_org/sync/engine/
H A Dapply_control_data_updates_unittest.cc129 Id folder_id = id_factory_.NewLocalId(); local
130 entry_factory_->CreateUnsyncedItem(folder_id, id_factory_.root(), "folder",
136 entry_factory_->CreateUnsyncedItem(id_factory_.NewLocalId(), folder_id,
241 Id folder_id = id_factory_.NewLocalId(); local
243 folder_id, id_factory_.root(), "folder", true,
249 entry_factory_->CreateUnsyncedItem(id_factory_.NewLocalId(), folder_id,
H A Dsyncer_unittest.cc1978 syncable::Id folder_id; local
1984 folder_id = entry.GetId();
1985 ASSERT_TRUE(!folder_id.ServerKnows());
1991 MutableEntry entry(&trans, CREATE, BOOKMARKS, folder_id, "new_entry");
2003 EXPECT_EQ(folder_id, entry.GetParentId());
2020 local_cache_guid(), folder_id.GetServerId());
2039 Entry old_dead_folder(&trans, GET_BY_ID, folder_id);
3382 syncable::Id folder_id = ids_.FromNumber(1); local
3388 folder_id, "stuck", 1, 1,
3415 mock_server_->AddUpdateDirectory(folder_id,
[all...]
/external/chromium_org/ui/app_list/
H A Dapp_list_item.h60 const std::string& folder_id() const { return folder_id_; } function in class:app_list::AppListItem
115 void set_folder_id(const std::string& folder_id) { folder_id_ = folder_id; } argument
H A Dapp_list_model.cc73 const std::string& folder_id) {
74 if (folder_id.empty())
76 DVLOG(2) << "AddItemToFolder: " << item->id() << ": " << folder_id;
77 CHECK_NE(folder_id, item->folder_id());
79 AppListFolderItem* dest_folder = FindOrCreateFolderItem(folder_id);
100 CHECK(target_item->folder_id().empty());
155 const std::string& folder_id) {
156 DVLOG(2) << "MoveItemToFolder: " << folder_id
158 if (item->folder_id()
72 AddItemToFolder(scoped_ptr<AppListItem> item, const std::string& folder_id) argument
154 MoveItemToFolder(AppListItem* item, const std::string& folder_id) argument
170 MoveItemToFolderAt(AppListItem* item, const std::string& folder_id, syncer::StringOrdinal position) argument
315 FindOrCreateFolderItem( const std::string& folder_id) argument
382 std::string folder_id = folder->id(); local
[all...]
H A Dapp_list_model_unittest.cc310 std::string folder_id = model_.MergeItems(folder2_id, item0->id()); local
311 EXPECT_EQ(folder2_id, folder_id);
331 EXPECT_EQ(folder->id(), item0->folder_id());
344 std::string folder_id = folder->id(); local
345 model_.MoveItemToFolder(item0, folder_id);
346 model_.MoveItemToFolder(item1, folder_id);
347 AppListFolderItem* folder_item = model_.FindFolderItem(folder_id);
349 EXPECT_EQ(folder_id, item0->folder_id());
350 EXPECT_EQ(folder_id, item
439 std::string folder_id = folder->id(); local
451 std::string folder_id = folder->id(); local
476 std::string folder_id = folder->id(); local
[all...]
/external/chromium_org/ui/app_list/test/
H A Dapp_list_test_model.cc65 const std::string& folder_id) {
66 return AppListModel::AddItemToFolder(make_scoped_ptr(item), folder_id);
70 const std::string& folder_id) {
71 AppListModel::MoveItemToFolder(item, folder_id);
107 const std::string& folder_id,
110 AddItemToFolder(item, folder_id);
111 AppListItem* folder_item = FindItem(folder_id);
64 AddItemToFolder(AppListItem* item, const std::string& folder_id) argument
69 MoveItemToFolder(AppListItem* item, const std::string& folder_id) argument
106 CreateSingleItemFolder( const std::string& folder_id, const std::string& item_id) argument
/external/chromium_org/ui/app_list/views/
H A Dapp_list_view_unittest.cc287 const std::string folder_id = local
291 AppListFolderItem* folder_item = model->FindFolderItem(folder_id);
/external/chromium_org/chrome/utility/importer/
H A Dfirefox_importer.cc642 const char* query = "SELECT root_name, folder_id FROM moz_bookmarks_roots";
674 int folder_id,
681 s.BindInt(0, folder_id);
686 item->id = folder_id;
673 GetTopBookmarkFolder(sql::Connection* db, int folder_id, BookmarkList* list) argument
/external/chromium_org/chrome/browser/android/bookmarks/
H A Dbookmarks_bridge.cc520 long folder_id = JavaBookmarkIdGetId(env, j_folder_id_obj); local
522 const BookmarkNode* folder = GetFolderWithFallback(folder_id, type);
560 long folder_id = JavaBookmarkIdGetId(env, j_folder_id_obj); local
562 const BookmarkNode* folder = GetFolderWithFallback(folder_id, type);
745 const BookmarkNode* BookmarksBridge::GetFolderWithFallback(long folder_id, argument
747 const BookmarkNode* folder = GetNodeByID(folder_id, type);
/external/chromium_org/google_apis/drive/
H A Ddrive_api_requests.h666 const std::string& folder_id() const { return folder_id_; } function in class:google_apis::drive::ChildrenInsertRequest
667 void set_folder_id(const std::string& folder_id) { argument
668 folder_id_ = folder_id;
709 const std::string& folder_id() const { return folder_id_; } function in class:google_apis::drive::ChildrenDeleteRequest
710 void set_folder_id(const std::string& folder_id) { argument
711 folder_id_ = folder_id;
/external/chromium_org/sync/syncable/
H A Ddirectory_unittest.cc825 syncable::Id folder_id; local
835 folder_id = folder.GetId();
848 EXPECT_EQ(1, CountEntriesWithName(&trans, folder_id, entry_name));
854 EXPECT_TRUE(entry.GetParentId() == folder_id);
/external/chromium_org/chrome/browser/sync/
H A Dprofile_sync_service_bookmark_unittest.cc789 int64 folder_id = AddFolderToShare(&trans, local
793 folder_id,
1959 int64 folder_id = adds.AddFolderWithMetaInfo( local
1965 &node_meta_info, folder_id, 0);
1981 updates.ModifyMetaInfo(folder_id, folder_meta_info);
/external/chromium_org/sync/internal_api/
H A Dsync_manager_impl_unittest.cc385 int64 folder_id; local
396 folder_id = folder_node.GetId();
437 EXPECT_EQ(BaseNode::INIT_OK, folder_node.InitByIdLookup(folder_id));
2876 int64 folder_id = kInvalidId; local
2891 folder_id = folder.GetMetahandle();
2907 FindChangeInList(folder_id, ChangeRecord::ACTION_ADD);

Completed in 489 milliseconds

12