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

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

Issue 1854993002: [Extensions] Remove linked_ptr entirely from extensions generated code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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
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 <stddef.h> 5 #include <stddef.h>
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/linked_ptr.h"
10 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
11 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
12 #include "components/storage_monitor/storage_monitor.h" 13 #include "components/storage_monitor/storage_monitor.h"
13 #include "components/storage_monitor/test_storage_monitor.h" 14 #include "components/storage_monitor/test_storage_monitor.h"
14 #include "extensions/browser/api/system_storage/storage_api_test_util.h" 15 #include "extensions/browser/api/system_storage/storage_api_test_util.h"
15 #include "extensions/browser/api/system_storage/storage_info_provider.h" 16 #include "extensions/browser/api/system_storage/storage_info_provider.h"
16 #include "extensions/shell/test/shell_apitest.h" 17 #include "extensions/shell/test/shell_apitest.h"
17 #include "extensions/test/extension_test_message_listener.h" 18 #include "extensions/test/extension_test_message_listener.h"
18 #include "extensions/test/result_catcher.h" 19 #include "extensions/test/result_catcher.h"
19 20
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 removable_storage_transient_id, false); 142 removable_storage_transient_id, false);
142 143
143 // Simulate triggering onDetached event. 144 // Simulate triggering onDetached event.
144 ASSERT_TRUE(detach_listener.WaitUntilSatisfied()); 145 ASSERT_TRUE(detach_listener.WaitUntilSatisfied());
145 DetachRemovableStorage(kRemovableStorageData.device_id); 146 DetachRemovableStorage(kRemovableStorageData.device_id);
146 147
147 ASSERT_TRUE(detach_device_id_listener.WaitUntilSatisfied()); 148 ASSERT_TRUE(detach_device_id_listener.WaitUntilSatisfied());
148 149
149 EXPECT_TRUE(catcher.GetNextResult()) << catcher.message(); 150 EXPECT_TRUE(catcher.GetNextResult()) << catcher.message();
150 } 151 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698