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

Side by Side Diff: chrome/browser/debugger/debugger_contents.cc

Issue 12418: Implement History as HTML and add/change a bunch of stuff to make it easier t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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/browser/browsing_instance.cc ('k') | chrome/browser/debugger/debugger_view.cc » ('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 (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // This file defines utility functions for working with strings. 5 // This file defines utility functions for working with strings.
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/debugger/debugger_contents.h" 10 #include "chrome/browser/debugger/debugger_contents.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 DebuggerHTMLSource* html_source = new DebuggerHTMLSource(); 121 DebuggerHTMLSource* html_source = new DebuggerHTMLSource();
122 g_browser_process->io_thread()->message_loop()->PostTask(FROM_HERE, 122 g_browser_process->io_thread()->message_loop()->PostTask(FROM_HERE,
123 NewRunnableMethod(&chrome_url_data_manager, 123 NewRunnableMethod(&chrome_url_data_manager,
124 &ChromeURLDataManager::AddDataSource, 124 &ChromeURLDataManager::AddDataSource,
125 html_source)); 125 html_source));
126 } 126 }
127 127
128 // static 128 // static
129 bool DebuggerContents::IsDebuggerUrl(const GURL& url) { 129 bool DebuggerContents::IsDebuggerUrl(const GURL& url) {
130 if (url.SchemeIs("chrome-resource") && url.host() == "debugger") 130 if (url.SchemeIs("chrome") && url.host() == "debugger")
131 return true; 131 return true;
132 return false; 132 return false;
133 } 133 }
134 134
OLDNEW
« no previous file with comments | « chrome/browser/browsing_instance.cc ('k') | chrome/browser/debugger/debugger_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698