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

Side by Side Diff: chrome/renderer/extensions/console.cc

Issue 12737007: Merge 188631 "Don't throw exceptions when v8 objects/contexts ar..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1443/src/
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/extensions/console.h ('k') | chrome/renderer/extensions/extension_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/renderer/extensions/console.h" 5 #include "chrome/renderer/extensions/console.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/renderer/extensions/dispatcher.h" 9 #include "chrome/renderer/extensions/dispatcher.h"
10 #include "chrome/renderer/extensions/extension_helper.h" 10 #include "chrome/renderer/extensions/extension_helper.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 content::RenderView* render_view = ByContextFinder::Find(context); 117 content::RenderView* render_view = ByContextFinder::Find(context);
118 if (!render_view) { 118 if (!render_view) {
119 LOG(WARNING) << "Could not log \"" << message << "\": no render view found"; 119 LOG(WARNING) << "Could not log \"" << message << "\": no render view found";
120 return; 120 return;
121 } 121 }
122 AddMessage(render_view, level, message); 122 AddMessage(render_view, level, message);
123 } 123 }
124 124
125 } // namespace console 125 } // namespace console
126 } // namespace extensions 126 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/console.h ('k') | chrome/renderer/extensions/extension_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698