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

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

Issue 96413002: Move c/b/google_apis to google_apis/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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
OLDNEW
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 "chrome/browser/chromeos/drive/change_list_loader.h" 5 #include "chrome/browser/chromeos/drive/change_list_loader.h"
6 6
7 #include "base/files/scoped_temp_dir.h" 7 #include "base/files/scoped_temp_dir.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/prefs/testing_pref_service.h" 9 #include "base/prefs/testing_pref_service.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "chrome/browser/chromeos/drive/change_list_loader_observer.h" 11 #include "chrome/browser/chromeos/drive/change_list_loader_observer.h"
12 #include "chrome/browser/chromeos/drive/change_list_processor.h" 12 #include "chrome/browser/chromeos/drive/change_list_processor.h"
13 #include "chrome/browser/chromeos/drive/file_cache.h" 13 #include "chrome/browser/chromeos/drive/file_cache.h"
14 #include "chrome/browser/chromeos/drive/file_system_util.h" 14 #include "chrome/browser/chromeos/drive/file_system_util.h"
15 #include "chrome/browser/chromeos/drive/job_scheduler.h" 15 #include "chrome/browser/chromeos/drive/job_scheduler.h"
16 #include "chrome/browser/chromeos/drive/resource_metadata.h" 16 #include "chrome/browser/chromeos/drive/resource_metadata.h"
17 #include "chrome/browser/chromeos/drive/test_util.h" 17 #include "chrome/browser/chromeos/drive/test_util.h"
18 #include "chrome/browser/drive/fake_drive_service.h" 18 #include "chrome/browser/drive/fake_drive_service.h"
19 #include "chrome/browser/google_apis/test_util.h"
20 #include "content/public/test/test_browser_thread_bundle.h" 19 #include "content/public/test/test_browser_thread_bundle.h"
20 #include "google_apis/drive/test_util.h"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 22
23 namespace drive { 23 namespace drive {
24 namespace internal { 24 namespace internal {
25 25
26 class TestChangeListLoaderObserver : public ChangeListLoaderObserver { 26 class TestChangeListLoaderObserver : public ChangeListLoaderObserver {
27 public: 27 public:
28 explicit TestChangeListLoaderObserver(ChangeListLoader* loader) 28 explicit TestChangeListLoaderObserver(ChangeListLoader* loader)
29 : loader_(loader), 29 : loader_(loader),
30 load_from_server_complete_count_(0), 30 load_from_server_complete_count_(0),
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 // The new file is found in the local metadata. 407 // The new file is found in the local metadata.
408 base::FilePath new_file_path = 408 base::FilePath new_file_path =
409 util::GetDriveMyDriveRootPath().AppendASCII(gdata_entry->title()); 409 util::GetDriveMyDriveRootPath().AppendASCII(gdata_entry->title());
410 ResourceEntry entry; 410 ResourceEntry entry;
411 EXPECT_EQ(FILE_ERROR_OK, 411 EXPECT_EQ(FILE_ERROR_OK,
412 metadata_->GetResourceEntryByPath(new_file_path, &entry)); 412 metadata_->GetResourceEntryByPath(new_file_path, &entry));
413 } 413 }
414 414
415 } // namespace internal 415 } // namespace internal
416 } // namespace drive 416 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/change_list_loader.cc ('k') | chrome/browser/chromeos/drive/change_list_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698