OLD | NEW |
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/files/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/drive/test_util.h" | 17 #include "chrome/browser/drive/test_util.h" |
18 #include "content/public/test/test_browser_thread_bundle.h" | 18 #include "content/public/test/test_browser_thread_bundle.h" |
19 #include "google_apis/drive/drive_api_parser.h" | 19 #include "google_apis/drive/drive_api_parser.h" |
20 #include "google_apis/drive/test_util.h" | 20 #include "google_apis/drive/test_util.h" |
(...skipping 2199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2220 test_util::CreateCopyResultCallback(&error, &entry)); | 2220 test_util::CreateCopyResultCallback(&error, &entry)); |
2221 base::RunLoop().RunUntilIdle(); | 2221 base::RunLoop().RunUntilIdle(); |
2222 | 2222 |
2223 EXPECT_EQ(GDATA_NO_CONNECTION, error); | 2223 EXPECT_EQ(GDATA_NO_CONNECTION, error); |
2224 EXPECT_FALSE(entry); | 2224 EXPECT_FALSE(entry); |
2225 } | 2225 } |
2226 | 2226 |
2227 } // namespace | 2227 } // namespace |
2228 | 2228 |
2229 } // namespace drive | 2229 } // namespace drive |
OLD | NEW |