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

Side by Side Diff: chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_apitest.cc

Issue 531463002: [fsp] Enable the File System Provider API on the dev channel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | chrome/common/extensions/api/_permission_features.json » ('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 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/extensions/extension_apitest.h" 5 #include "chrome/browser/extensions/extension_apitest.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 8
9 class FileSystemProviderApiTest : public ExtensionApiTest { 9 class FileSystemProviderApiTest : public ExtensionApiTest {
10 public: 10 public:
11 FileSystemProviderApiTest() 11 FileSystemProviderApiTest()
12 // Set the channel to "trunk" since this API is restricted to trunk. 12 : current_channel_(chrome::VersionInfo::CHANNEL_DEV) {}
13 : current_channel_(chrome::VersionInfo::CHANNEL_UNKNOWN) {
14 }
15 13
16 // Loads a helper testing extension. 14 // Loads a helper testing extension.
17 virtual void SetUpOnMainThread() OVERRIDE { 15 virtual void SetUpOnMainThread() OVERRIDE {
18 ExtensionApiTest::SetUpOnMainThread(); 16 ExtensionApiTest::SetUpOnMainThread();
19 const extensions::Extension* extension = LoadExtensionWithFlags( 17 const extensions::Extension* extension = LoadExtensionWithFlags(
20 test_data_dir_.AppendASCII("file_system_provider/test_util"), 18 test_data_dir_.AppendASCII("file_system_provider/test_util"),
21 kFlagEnableIncognito); 19 kFlagEnableIncognito);
22 ASSERT_TRUE(extension); 20 ASSERT_TRUE(extension);
23 } 21 }
24 22
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 << message_; 114 << message_;
117 } 115 }
118 116
119 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, WriteFile) { 117 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, WriteFile) {
120 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/write_file", 118 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/write_file",
121 kFlagLoadAsComponent)) 119 kFlagLoadAsComponent))
122 << message_; 120 << message_;
123 } 121 }
124 122
125 } // namespace extensions 123 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/api/_permission_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698