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

Side by Side Diff: extensions/browser/api/system_storage/system_storage_eject_apitest.cc

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
Patch Set: Created 5 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
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 // SystemStorage eject API browser tests. 5 // SystemStorage eject API browser tests.
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/macros.h"
8 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
9 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
10 #include "components/storage_monitor/storage_info.h" 11 #include "components/storage_monitor/storage_info.h"
11 #include "components/storage_monitor/storage_monitor.h" 12 #include "components/storage_monitor/storage_monitor.h"
12 #include "components/storage_monitor/test_storage_monitor.h" 13 #include "components/storage_monitor/test_storage_monitor.h"
13 #include "content/public/browser/render_frame_host.h" 14 #include "content/public/browser/render_frame_host.h"
14 #include "content/public/browser/render_view_host.h" 15 #include "content/public/browser/render_view_host.h"
15 #include "content/public/test/test_utils.h" 16 #include "content/public/test/test_utils.h"
16 #include "extensions/browser/api/system_storage/storage_api_test_util.h" 17 #include "extensions/browser/api/system_storage/storage_api_test_util.h"
17 #include "extensions/browser/api/system_storage/storage_info_provider.h" 18 #include "extensions/browser/api/system_storage/storage_info_provider.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 EXPECT_EQ(kRemovableStorageData.device_id, monitor_->ejected_device()); 102 EXPECT_EQ(kRemovableStorageData.device_id, monitor_->ejected_device());
102 103
103 Detach(); 104 Detach();
104 } 105 }
105 106
106 IN_PROC_BROWSER_TEST_F(SystemStorageEjectApiTest, EjectBadDeviceTest) { 107 IN_PROC_BROWSER_TEST_F(SystemStorageEjectApiTest, EjectBadDeviceTest) {
107 ExecuteCmdAndCheckReply(GetHost(), "ejectFailTest()", "eject_no_such_device"); 108 ExecuteCmdAndCheckReply(GetHost(), "ejectFailTest()", "eject_no_such_device");
108 109
109 EXPECT_EQ("", monitor_->ejected_device()); 110 EXPECT_EQ("", monitor_->ejected_device());
110 } 111 }
OLDNEW
« no previous file with comments | « extensions/browser/api/system_storage/system_storage_apitest.cc ('k') | extensions/browser/api/test/test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698