| 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 "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 496 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  507   // Configure the drive service to return only one search result at a time |  507   // Configure the drive service to return only one search result at a time | 
|  508   // to simulate paginated searches. |  508   // to simulate paginated searches. | 
|  509   fake_drive_service_->set_default_max_results(1); |  509   fake_drive_service_->set_default_max_results(1); | 
|  510   EXPECT_TRUE(RunFileSystemExtensionApiTest( |  510   EXPECT_TRUE(RunFileSystemExtensionApiTest( | 
|  511       "file_browser/drive_search_test", |  511       "file_browser/drive_search_test", | 
|  512       FILE_PATH_LITERAL("manifest.json"), |  512       FILE_PATH_LITERAL("manifest.json"), | 
|  513       "", |  513       "", | 
|  514       FLAGS_NONE)) << message_; |  514       FLAGS_NONE)) << message_; | 
|  515 } |  515 } | 
|  516  |  516  | 
 |  517 IN_PROC_BROWSER_TEST_F(DriveFileSystemExtensionApiTest, AppFileHandler) { | 
 |  518   fake_drive_service_->set_default_max_results(1); | 
 |  519   EXPECT_TRUE(RunFileSystemExtensionApiTest( | 
 |  520       "file_browser/handler_test_runner", | 
 |  521       FILE_PATH_LITERAL("manifest_v2.json"), | 
 |  522       "file_browser/app_file_handler", | 
 |  523       FLAGS_USE_FILE_HANDLER)) << message_; | 
 |  524 } | 
 |  525  | 
|  517 }  // namespace |  526 }  // namespace | 
| OLD | NEW |