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

Side by Side Diff: chrome/browser/chromeos/extensions/external_filesystem_apitest.cc

Issue 12258021: Fix filesystem API file_handlers to work for drive on ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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 | Annotate | Revision Log
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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/file_util.h" 6 #include "base/file_util.h"
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/json/json_file_value_serializer.h" 9 #include "base/json/json_file_value_serializer.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 // Configure the drive service to return only one search result at a time 505 // Configure the drive service to return only one search result at a time
506 // to simulate paginated searches. 506 // to simulate paginated searches.
507 fake_drive_service_->set_default_max_results(1); 507 fake_drive_service_->set_default_max_results(1);
508 EXPECT_TRUE(RunFileSystemExtensionApiTest( 508 EXPECT_TRUE(RunFileSystemExtensionApiTest(
509 "file_browser/drive_search_test", 509 "file_browser/drive_search_test",
510 FILE_PATH_LITERAL("manifest.json"), 510 FILE_PATH_LITERAL("manifest.json"),
511 "", 511 "",
512 FLAGS_NONE)) << message_; 512 FLAGS_NONE)) << message_;
513 } 513 }
514 514
515 IN_PROC_BROWSER_TEST_F(DriveFileSystemExtensionApiTest, AppFileHanlder) {
516 EXPECT_TRUE(RunFileSystemExtensionApiTest(
517 "file_browser/handler_test_runner",
518 FILE_PATH_LITERAL("manifest_v2.json"),
519 "file_browser/app_file_handler",
520 FLAGS_USE_FILE_HANDLER)) << message_;
521 }
522
515 } // namespace 523 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698