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

Side by Side Diff: chrome/browser/drive/fake_drive_service_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
« no previous file with comments | « chrome/browser/drive/fake_drive_service.cc ('k') | chrome/browser/drive/gdata_wapi_service.h » ('j') | 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/drive/fake_drive_service.h" 5 #include "chrome/browser/drive/fake_drive_service.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/files/scoped_temp_dir.h" 11 #include "base/files/scoped_temp_dir.h"
12 #include "base/md5.h" 12 #include "base/md5.h"
13 #include "base/run_loop.h" 13 #include "base/run_loop.h"
14 #include "base/stl_util.h" 14 #include "base/stl_util.h"
15 #include "base/strings/stringprintf.h" 15 #include "base/strings/stringprintf.h"
16 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #include "chrome/browser/google_apis/drive_api_parser.h"
18 #include "chrome/browser/google_apis/gdata_wapi_parser.h"
19 #include "chrome/browser/google_apis/gdata_wapi_requests.h"
20 #include "chrome/browser/google_apis/test_util.h"
21 #include "content/public/test/test_browser_thread_bundle.h" 17 #include "content/public/test/test_browser_thread_bundle.h"
18 #include "google_apis/drive/drive_api_parser.h"
19 #include "google_apis/drive/gdata_wapi_parser.h"
20 #include "google_apis/drive/gdata_wapi_requests.h"
21 #include "google_apis/drive/test_util.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 23
24 using google_apis::AboutResource; 24 using google_apis::AboutResource;
25 using google_apis::AppList; 25 using google_apis::AppList;
26 using google_apis::GDataErrorCode; 26 using google_apis::GDataErrorCode;
27 using google_apis::GDATA_NO_CONNECTION; 27 using google_apis::GDATA_NO_CONNECTION;
28 using google_apis::GDATA_OTHER_ERROR; 28 using google_apis::GDATA_OTHER_ERROR;
29 using google_apis::GetContentCallback; 29 using google_apis::GetContentCallback;
30 using google_apis::HTTP_CREATED; 30 using google_apis::HTTP_CREATED;
31 using google_apis::HTTP_NOT_FOUND; 31 using google_apis::HTTP_NOT_FOUND;
(...skipping 2298 matching lines...) Expand 10 before | Expand all | Expand 10 after
2330 test_util::CreateCopyResultCallback(&error, &resource_entry)); 2330 test_util::CreateCopyResultCallback(&error, &resource_entry));
2331 base::RunLoop().RunUntilIdle(); 2331 base::RunLoop().RunUntilIdle();
2332 2332
2333 EXPECT_EQ(GDATA_NO_CONNECTION, error); 2333 EXPECT_EQ(GDATA_NO_CONNECTION, error);
2334 EXPECT_FALSE(resource_entry); 2334 EXPECT_FALSE(resource_entry);
2335 } 2335 }
2336 2336
2337 } // namespace 2337 } // namespace
2338 2338
2339 } // namespace drive 2339 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/drive/fake_drive_service.cc ('k') | chrome/browser/drive/gdata_wapi_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698