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

Side by Side Diff: components/test_runner/test_plugin.cc

Issue 2218933003: Revert of Make WebTraceLocation be an alias of tracked_objects::Location (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 "components/test_runner/test_plugin.h" 5 #include "components/test_runner/test_plugin.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <utility> 10 #include <utility>
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 layer_ = NULL; 216 layer_ = NULL;
217 DestroyScene(); 217 DestroyScene();
218 218
219 gl_ = nullptr; 219 gl_ = nullptr;
220 context_provider_.reset(); 220 context_provider_.reset();
221 221
222 container_ = nullptr; 222 container_ = nullptr;
223 frame_ = nullptr; 223 frame_ = nullptr;
224 224
225 blink::Platform::current()->mainThread()->getWebTaskRunner()->postTask( 225 blink::Platform::current()->mainThread()->getWebTaskRunner()->postTask(
226 BLINK_FROM_HERE, 226 blink::WebTraceLocation(__FUNCTION__, __FILE__),
227 new DeferredDeleteTask(base::WrapUnique(this))); 227 new DeferredDeleteTask(base::WrapUnique(this)));
228 } 228 }
229 229
230 blink::WebPluginContainer* TestPlugin::container() const { 230 blink::WebPluginContainer* TestPlugin::container() const {
231 return container_; 231 return container_;
232 } 232 }
233 233
234 bool TestPlugin::canProcessDrag() const { 234 bool TestPlugin::canProcessDrag() const {
235 return can_process_drag_; 235 return can_process_drag_;
236 } 236 }
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 return kPluginPersistsMimeType; 732 return kPluginPersistsMimeType;
733 } 733 }
734 734
735 bool TestPlugin::IsSupportedMimeType(const blink::WebString& mime_type) { 735 bool TestPlugin::IsSupportedMimeType(const blink::WebString& mime_type) {
736 return mime_type == TestPlugin::MimeType() || 736 return mime_type == TestPlugin::MimeType() ||
737 mime_type == PluginPersistsMimeType() || 737 mime_type == PluginPersistsMimeType() ||
738 mime_type == CanCreateWithoutRendererMimeType(); 738 mime_type == CanCreateWithoutRendererMimeType();
739 } 739 }
740 740
741 } // namespace test_runner 741 } // namespace test_runner
OLDNEW
« no previous file with comments | « components/scheduler/child/webthread_base.cc ('k') | content/child/resource_scheduling_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698