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

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

Issue 1314803004: Move chrome/browser/chromeos/drive/file_system.cc (+deps) into components/drive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 5 years, 3 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
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/write_on_cache_file.h" 5 #include "chrome/browser/chromeos/drive/write_on_cache_file.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "chrome/browser/chromeos/drive/dummy_file_system.h" 8 #include "components/drive/dummy_file_system.h"
9 #include "content/public/test/test_browser_thread_bundle.h" 9 #include "content/public/test/test_browser_thread_bundle.h"
10 #include "content/public/test/test_utils.h" 10 #include "content/public/test/test_utils.h"
11 #include "google_apis/drive/test_util.h" 11 #include "google_apis/drive/test_util.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 namespace drive { 14 namespace drive {
15 15
16 namespace { 16 namespace {
17 17
18 const base::FilePath::CharType kDrivePath[] = 18 const base::FilePath::CharType kDrivePath[] =
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 base::FilePath(kInvalidPath), 93 base::FilePath(kInvalidPath),
94 std::string(), // mime_type 94 std::string(), // mime_type
95 google_apis::test_util::CreateCopyResultCallback(&error, &path)); 95 google_apis::test_util::CreateCopyResultCallback(&error, &path));
96 content::RunAllBlockingPoolTasksUntilIdle(); 96 content::RunAllBlockingPoolTasksUntilIdle();
97 97
98 EXPECT_EQ(FILE_ERROR_INVALID_OPERATION, error); 98 EXPECT_EQ(FILE_ERROR_INVALID_OPERATION, error);
99 EXPECT_TRUE(path.empty()); 99 EXPECT_TRUE(path.empty());
100 } 100 }
101 101
102 } // namespace drive 102 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/sync_client_unittest.cc ('k') | chrome/browser/chromeos/extensions/file_manager/event_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698