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

Side by Side Diff: chrome/browser/sync_file_system/drive_backend_v1/api_util_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/sync_file_system/drive_backend_v1/api_util.h" 5 #include "chrome/browser/sync_file_system/drive_backend_v1/api_util.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/message_loop/message_loop_proxy.h" 10 #include "base/message_loop/message_loop_proxy.h"
11 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/browser/drive/drive_uploader.h" 13 #include "chrome/browser/drive/drive_uploader.h"
14 #include "chrome/browser/drive/fake_drive_service.h" 14 #include "chrome/browser/drive/fake_drive_service.h"
15 #include "chrome/browser/google_apis/drive_api_parser.h"
16 #include "chrome/browser/google_apis/gdata_errorcode.h"
17 #include "chrome/browser/google_apis/test_util.h"
18 #include "chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_util. h" 15 #include "chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_util. h"
19 #include "chrome/browser/sync_file_system/drive_backend_v1/fake_drive_service_he lper.h" 16 #include "chrome/browser/sync_file_system/drive_backend_v1/fake_drive_service_he lper.h"
20 #include "chrome/browser/sync_file_system/drive_backend_v1/fake_drive_uploader.h " 17 #include "chrome/browser/sync_file_system/drive_backend_v1/fake_drive_uploader.h "
21 #include "content/public/test/test_browser_thread.h" 18 #include "content/public/test/test_browser_thread.h"
22 #include "content/public/test/test_browser_thread_bundle.h" 19 #include "content/public/test/test_browser_thread_bundle.h"
20 #include "google_apis/drive/drive_api_parser.h"
21 #include "google_apis/drive/gdata_errorcode.h"
22 #include "google_apis/drive/test_util.h"
23 #include "net/base/escape.h" 23 #include "net/base/escape.h"
24 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
25 25
26 #define FPL(x) FILE_PATH_LITERAL(x) 26 #define FPL(x) FILE_PATH_LITERAL(x)
27 27
28 using drive::DriveServiceInterface; 28 using drive::DriveServiceInterface;
29 using drive::DriveUploaderInterface; 29 using drive::DriveUploaderInterface;
30 using google_apis::GDataErrorCode; 30 using google_apis::GDataErrorCode;
31 using google_apis::ResourceEntry; 31 using google_apis::ResourceEntry;
32 using google_apis::ResourceList; 32 using google_apis::ResourceList;
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 TestCreateDirectory(); 826 TestCreateDirectory();
827 } 827 }
828 828
829 TEST_F(APIUtilTest, CreateDirectory_WAPI) { 829 TEST_F(APIUtilTest, CreateDirectory_WAPI) {
830 ScopedDisableDriveAPI disable_drive_api; 830 ScopedDisableDriveAPI disable_drive_api;
831 TestCreateDirectory(); 831 TestCreateDirectory();
832 } 832 }
833 833
834 } // namespace drive_backend 834 } // namespace drive_backend
835 } // namespace sync_file_system 835 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698