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

Side by Side Diff: content/renderer/service_worker/embedded_worker_devtools_agent.cc

Issue 897563002: Unify the three places that patch font loading for PDFium on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/renderer/service_worker/embedded_worker_devtools_agent.h" 5 #include "content/renderer/service_worker/embedded_worker_devtools_agent.h"
6 6
7 #include "content/child/child_thread.h"
8 #include "content/common/devtools_messages.h" 7 #include "content/common/devtools_messages.h"
9 #include "content/renderer/render_thread_impl.h" 8 #include "content/renderer/render_thread_impl.h"
10 #include "third_party/WebKit/public/platform/WebCString.h" 9 #include "third_party/WebKit/public/platform/WebCString.h"
11 #include "third_party/WebKit/public/platform/WebString.h" 10 #include "third_party/WebKit/public/platform/WebString.h"
12 #include "third_party/WebKit/public/web/WebEmbeddedWorker.h" 11 #include "third_party/WebKit/public/web/WebEmbeddedWorker.h"
13 12
14 using blink::WebEmbeddedWorker; 13 using blink::WebEmbeddedWorker;
15 using blink::WebString; 14 using blink::WebString;
16 15
17 namespace content { 16 namespace content {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 void EmbeddedWorkerDevToolsAgent::OnDetach() { 53 void EmbeddedWorkerDevToolsAgent::OnDetach() {
55 webworker_->detachDevTools(); 54 webworker_->detachDevTools();
56 } 55 }
57 56
58 void EmbeddedWorkerDevToolsAgent::OnDispatchOnInspectorBackend( 57 void EmbeddedWorkerDevToolsAgent::OnDispatchOnInspectorBackend(
59 const std::string& message) { 58 const std::string& message) {
60 webworker_->dispatchDevToolsMessage(WebString::fromUTF8(message)); 59 webworker_->dispatchDevToolsMessage(WebString::fromUTF8(message));
61 } 60 }
62 61
63 } // namespace content 62 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698