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

Side by Side Diff: components/drive/service/fake_drive_service_unittest.cc

Issue 1190203002: Move (most of) chrome/browser/drive into components/drive/service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 5 years, 5 months 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
« no previous file with comments | « components/drive/service/fake_drive_service.cc ('k') | components/drive/service/test_util.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 "components/drive/service/fake_drive_service.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/files/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/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/run_loop.h" 14 #include "base/run_loop.h"
15 #include "base/stl_util.h" 15 #include "base/stl_util.h"
16 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
17 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
18 #include "chrome/browser/drive/test_util.h" 18 #include "components/drive/service/test_util.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"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 22
23 using google_apis::AboutResource; 23 using google_apis::AboutResource;
24 using google_apis::AppList; 24 using google_apis::AppList;
25 using google_apis::ChangeList; 25 using google_apis::ChangeList;
26 using google_apis::ChangeResource; 26 using google_apis::ChangeResource;
27 using google_apis::FileList; 27 using google_apis::FileList;
28 using google_apis::FileResource; 28 using google_apis::FileResource;
(...skipping 2139 matching lines...) Expand 10 before | Expand all | Expand 10 after
2168 test_util::CreateCopyResultCallback(&error, &entry)); 2168 test_util::CreateCopyResultCallback(&error, &entry));
2169 base::RunLoop().RunUntilIdle(); 2169 base::RunLoop().RunUntilIdle();
2170 2170
2171 EXPECT_EQ(DRIVE_NO_CONNECTION, error); 2171 EXPECT_EQ(DRIVE_NO_CONNECTION, error);
2172 EXPECT_FALSE(entry); 2172 EXPECT_FALSE(entry);
2173 } 2173 }
2174 2174
2175 } // namespace 2175 } // namespace
2176 2176
2177 } // namespace drive 2177 } // namespace drive
OLDNEW
« no previous file with comments | « components/drive/service/fake_drive_service.cc ('k') | components/drive/service/test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698