Home
last modified time | relevance | path

Searched refs:drive_service_ (Results 1 – 25 of 25) sorted by relevance

/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Ddrive_service_wrapper.cc17 : drive_service_(drive_service) { in DriveServiceWrapper()
18 DCHECK(drive_service_); in DriveServiceWrapper()
27 drive_service_->AddNewDirectory(parent_resource_id, in AddNewDirectory()
38 drive_service_->DeleteResource(resource_id, in DeleteResource()
50 drive_service_->DownloadFile(local_cache_path, in DownloadFile()
60 drive_service_->GetAboutResource(callback); in GetAboutResource()
67 drive_service_->GetChangeList(start_changestamp, callback); in GetChangeList()
74 drive_service_->GetRemainingChangeList(next_link, callback); in GetRemainingChangeList()
81 drive_service_->GetRemainingFileList(next_link, callback); in GetRemainingFileList()
88 drive_service_->GetFileResource(resource_id, callback); in GetFileResource()
[all …]
Dfolder_creator.cc31 : drive_service_(drive_service), in FolderCreator()
42 drive_service_->AddNewDirectory( in Run()
60 drive_service_->SearchByTitle( in DidCreateFolder()
91 drive_service_->GetRemainingFileList( in DidListFolders()
Dsync_engine_context.cc27 : drive_service_(drive_service.Pass()), in SyncEngineContext()
43 return drive_service_.get(); in GetDriveService()
Dsync_engine.cc257 if (drive_service_) in Reset()
258 drive_service_->RemoveObserver(this); in Reset()
267 drive_service_.reset(); in Reset()
304 drive_service_ = drive_service.Pass(); in InitializeInternal()
305 drive_service_wrapper_.reset(new DriveServiceWrapper(drive_service_.get())); in InitializeInternal()
310 drive_service_->Initialize(account_id); in InitializeInternal()
358 drive_service_->AddObserver(this); in InitializeInternal()
362 if (drive_service_->HasRefreshToken()) in InitializeInternal()
Dfolder_creator.h54 drive::DriveServiceInterface* drive_service_; variable
Dsync_engine_context.h62 scoped_ptr<drive::DriveServiceInterface> drive_service_; variable
Ddrive_service_wrapper.h75 drive::DriveServiceInterface* drive_service_;
Dsync_engine.h209 scoped_ptr<drive::DriveServiceInterface> drive_service_; variable
Ddrive_backend_sync_unittest.cc592 remote_sync_service_->drive_service_.get()); in fake_drive_service()
/external/chromium_org/chrome/browser/apps/drive/
Ddrive_service_bridge.cc47 scoped_ptr<drive::DriveServiceInterface> drive_service_; member in __anon7d711a380111::DriveServiceBridgeImpl
64 drive_service_->RemoveObserver(this); in ~DriveServiceBridgeImpl()
67 drive_service_.reset(); in ~DriveServiceBridgeImpl()
80 drive_service_.reset(new drive::DriveAPIService( in Initialize()
90 drive_service_->Initialize(signin_manager->GetAuthenticatedAccountId()); in Initialize()
91 drive_service_->AddObserver(this); in Initialize()
98 drive_app_registry_.reset(new drive::DriveAppRegistry(drive_service_.get())); in Initialize()
99 if (drive_service_->CanSendRequest()) in Initialize()
112 if (drive_service_->CanSendRequest()) in OnNotificationReceived()
117 if (enabled && drive_service_->CanSendRequest()) in OnPushNotificationEnabled()
/external/chromium_org/chrome/browser/chromeos/drive/
Dchange_list_loader_unittest.cc82 drive_service_.reset(new FakeDriveService); in SetUp()
83 ASSERT_TRUE(test_util::SetUpTestEntries(drive_service_.get())); in SetUp()
87 drive_service_.get(), in SetUp()
119 drive_service_->AddNewFile( in AddNewFile()
122 drive_service_->GetRootResourceId(), in AddNewFile()
135 scoped_ptr<FakeDriveService> drive_service_; member in drive::internal::ChangeListLoaderTest
207 EXPECT_EQ(3, drive_service_->about_resource_load_count()); in TEST_F()
216 EXPECT_EQ(0, drive_service_->about_resource_load_count()); in TEST_F()
229 EXPECT_EQ(1, drive_service_->file_list_load_count()); in TEST_F()
230 EXPECT_EQ(1, drive_service_->about_resource_load_count()); in TEST_F()
[all …]
Ddirectory_loader_unittest.cc78 drive_service_.reset(new FakeDriveService); in SetUp()
79 ASSERT_TRUE(test_util::SetUpTestEntries(drive_service_.get())); in SetUp()
83 drive_service_.get(), in SetUp()
115 drive_service_->AddNewFile( in AddNewFile()
118 drive_service_->GetRootResourceId(), in AddNewFile()
131 scoped_ptr<FakeDriveService> drive_service_; member in drive::internal::DirectoryLoaderTest
162 EXPECT_EQ(drive_service_->GetRootResourceId(), entry.resource_id()); in TEST_F()
191 EXPECT_EQ(drive_service_->GetRootResourceId(), entry.resource_id()); in TEST_F()
192 EXPECT_EQ(drive_service_->about_resource().largest_change_id(), in TEST_F()
Dsync_client_unittest.cc114 drive_service_.reset(new SyncClientTestDriveService); in SetUp()
118 drive_service_.get(), in SetUp()
163 drive_service_->AddNewFile( in AddFileEntry()
166 drive_service_->GetRootResourceId(), in AddFileEntry()
255 scoped_ptr<SyncClientTestDriveService> drive_service_; member in drive::internal::SyncClientTest
296 drive_service_->GetFileResource( in TEST_F()
306 drive_service_->GetFileResource( in TEST_F()
327 drive_service_->set_resource_id_to_be_cancelled(resource_ids_["foo"]); in TEST_F()
385 drive_service_->set_offline(true); in TEST_F()
415 drive_service_->set_offline(false); in TEST_F()
[all …]
Djob_scheduler.cc170 drive_service_(drive_service), in JobScheduler()
244 base::Unretained(drive_service_), in GetAboutResource()
260 base::Unretained(drive_service_), in GetAppList()
277 base::Unretained(drive_service_), in GetAllFileList()
296 base::Unretained(drive_service_), in GetFileListInDirectory()
314 base::Unretained(drive_service_), in Search()
333 base::Unretained(drive_service_), in GetChangeList()
352 base::Unretained(drive_service_), in GetRemainingChangeList()
371 base::Unretained(drive_service_), in GetRemainingFileList()
392 base::Unretained(drive_service_), in GetFileResource()
[all …]
Ddrive_integration_service.cc237 drive_service_.reset(test_drive_service); in DriveIntegrationService()
239 drive_service_.reset(new DriveAPIService( in DriveIntegrationService()
251 drive_service_.get(), in DriveIntegrationService()
261 drive_app_registry_.reset(new DriveAppRegistry(drive_service_.get())); in DriveIntegrationService()
271 drive_service_.get(), in DriveIntegrationService()
308 drive_service_.reset(); in Shutdown()
499 drive_service_->Initialize(signin_manager->GetAuthenticatedAccountId()); in InitializeAfterMetadataInitialized()
Dfake_file_system.cc27 : drive_service_(drive_service), in FakeFileSystem()
151 drive_service_->GetAboutResource( in GetResourceEntry()
255 drive_service_->GetFileResource( in GetFileContentAfterGetResourceEntry()
302 drive_service_->DownloadFile( in GetFileContentAfterGetFileResource()
354 drive_service_->GetFileListInDirectory( in GetResourceEntryAfterGetParentEntryInfo()
Ddrive_integration_service.h105 DriveServiceInterface* drive_service() { return drive_service_.get(); } in drive_service()
174 scoped_ptr<DriveServiceInterface> drive_service_; variable
Dfake_file_system.h181 DriveServiceInterface* drive_service_; // Not owned. variable
Djob_scheduler.h390 DriveServiceInterface* drive_service_; variable
Dfile_system.h254 DriveServiceInterface* drive_service_; variable
Dfile_system.cc261 drive_service_(drive_service), in FileSystem()
/external/chromium_org/chrome/browser/drive/
Ddrive_uploader.cc130 : drive_service_(drive_service), in DriveUploader()
257 info_ptr->cancel_callback = drive_service_->InitiateUploadNewFile( in StartInitiateUploadNewFile()
275 info_ptr->cancel_callback = drive_service_->InitiateUploadExistingFile( in StartInitiateUploadExistingFile()
312 info_ptr->cancel_callback = drive_service_->GetUploadStatus( in StartGetUploadStatus()
339 info_ptr->cancel_callback = drive_service_->ResumeUpload( in UploadNextChunk()
Ddrive_app_registry.cc79 : drive_service_(drive_service), in DriveAppRegistry()
132 drive_service_->GetAppList( in Update()
208 drive_service_->UninstallApp(app_id, in UninstallApp()
Ddrive_app_registry.h126 DriveServiceInterface* drive_service_; variable
Ddrive_uploader.h201 DriveServiceInterface* drive_service_; // Not owned by this class. variable