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

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

Issue 194693002: [fsp] Add requestUnmount() method together with the request manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed some too strict thread checks. Created 6 years, 8 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 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 // Set the channel to "trunk" since this API is restricted to trunk.
13 : current_channel_(chrome::VersionInfo::CHANNEL_UNKNOWN) { 13 : current_channel_(chrome::VersionInfo::CHANNEL_UNKNOWN) {
14 } 14 }
15 15
16 private: 16 private:
17 extensions::ScopedCurrentChannel current_channel_; 17 extensions::ScopedCurrentChannel current_channel_;
18 }; 18 };
19 19
20 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, Mount) { 20 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, Mount) {
21 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/mount", 21 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/mount",
22 kFlagLoadAsComponent)) 22 kFlagLoadAsComponent))
23 << message_; 23 << message_;
24 } 24 }
25 25
26 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, Unmount) {
27 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/unmount",
28 kFlagLoadAsComponent))
29 << message_;
30 }
31
26 } // namespace extensions 32 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698