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

Side by Side Diff: chrome/browser/chromeos/drive/file_system/open_file_operation_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/chromeos/drive/file_system/open_file_operation.h" 5 #include "chrome/browser/chromeos/drive/file_system/open_file_operation.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/task_runner_util.h" 12 #include "base/task_runner_util.h"
13 #include "chrome/browser/chromeos/drive/drive.pb.h" 13 #include "chrome/browser/chromeos/drive/drive.pb.h"
14 #include "chrome/browser/chromeos/drive/file_errors.h" 14 #include "chrome/browser/chromeos/drive/file_errors.h"
15 #include "chrome/browser/chromeos/drive/file_system/operation_test_base.h" 15 #include "chrome/browser/chromeos/drive/file_system/operation_test_base.h"
16 #include "chrome/browser/google_apis/test_util.h" 16 #include "google_apis/drive/test_util.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 namespace drive { 19 namespace drive {
20 namespace file_system { 20 namespace file_system {
21 21
22 class OpenFileOperationTest : public OperationTestBase { 22 class OpenFileOperationTest : public OperationTestBase {
23 protected: 23 protected:
24 virtual void SetUp() OVERRIDE { 24 virtual void SetUp() OVERRIDE {
25 OperationTestBase::SetUp(); 25 OperationTestBase::SetUp();
26 26
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 close_callback2.Run(); 263 close_callback2.Run();
264 264
265 // Here, all the clients close the file, so it should be uploaded then. 265 // Here, all the clients close the file, so it should be uploaded then.
266 EXPECT_EQ( 266 EXPECT_EQ(
267 1U, 267 1U,
268 observer()->upload_needed_local_ids().count(src_entry.local_id())); 268 observer()->upload_needed_local_ids().count(src_entry.local_id()));
269 } 269 }
270 270
271 } // namespace file_system 271 } // namespace file_system
272 } // namespace drive 272 } // namespace drive
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698