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

Side by Side Diff: content/browser/media/media_internals_handler.cc

Issue 23334004: Remove double slash in include file path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/browser/media/media_internals_handler.h" 5 #include "content/browser/media/media_internals_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "content/browser//media/media_internals_proxy.h" 10 #include "content/browser/media/media_internals_proxy.h"
11 #include "content/public/browser/browser_thread.h" 11 #include "content/public/browser/browser_thread.h"
12 #include "content/public/browser/render_view_host.h" 12 #include "content/public/browser/render_view_host.h"
13 #include "content/public/browser/web_contents.h" 13 #include "content/public/browser/web_contents.h"
14 #include "content/public/browser/web_ui.h" 14 #include "content/public/browser/web_ui.h"
15 15
16 namespace content { 16 namespace content {
17 17
18 MediaInternalsMessageHandler::MediaInternalsMessageHandler() 18 MediaInternalsMessageHandler::MediaInternalsMessageHandler()
19 : proxy_(new MediaInternalsProxy()) {} 19 : proxy_(new MediaInternalsProxy()) {}
20 20
(...skipping 16 matching lines...) Expand all
37 } 37 }
38 38
39 void MediaInternalsMessageHandler::OnUpdate(const string16& update) { 39 void MediaInternalsMessageHandler::OnUpdate(const string16& update) {
40 // Don't try to execute JavaScript in a RenderView that no longer exists. 40 // Don't try to execute JavaScript in a RenderView that no longer exists.
41 RenderViewHost* host = web_ui()->GetWebContents()->GetRenderViewHost(); 41 RenderViewHost* host = web_ui()->GetWebContents()->GetRenderViewHost();
42 if (host) 42 if (host)
43 host->ExecuteJavascriptInWebFrame(string16(), update); 43 host->ExecuteJavascriptInWebFrame(string16(), update);
44 } 44 }
45 45
46 } // namespace content 46 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698