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

Side by Side Diff: content/browser/mock_content_browser_client.cc

Issue 7309011: Remove dependencies on extensions from content/browser/debugger. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head. Created 9 years, 5 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 | « content/browser/mock_content_browser_client.h ('k') | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/mock_content_browser_client.h" 5 #include "content/browser/mock_content_browser_client.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "content/browser/webui/empty_web_ui_factory.h" 9 #include "content/browser/webui/empty_web_ui_factory.h"
10 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
177 ui::Clipboard* MockContentBrowserClient::GetClipboard() { 177 ui::Clipboard* MockContentBrowserClient::GetClipboard() {
178 static ui::Clipboard clipboard; 178 static ui::Clipboard clipboard;
179 return &clipboard; 179 return &clipboard;
180 } 180 }
181 181
182 bool MockContentBrowserClient::IsFastShutdownPossible() { 182 bool MockContentBrowserClient::IsFastShutdownPossible() {
183 return true; 183 return true;
184 } 184 }
185 185
186 void MockContentBrowserClient::RegisterDevToolsRemoteListeners(
187 DevToolsProtocolHandler* proto_handler) {
188 }
189
190 void MockContentBrowserClient::GetAdditionalStartPagesForDevTools(
191 TabContents* dev_tools_tab, ListValue* results) {
192 }
193
186 #if defined(OS_POSIX) && !defined(OS_MACOSX) 194 #if defined(OS_POSIX) && !defined(OS_MACOSX)
187 int MockContentBrowserClient::GetCrashSignalFD( 195 int MockContentBrowserClient::GetCrashSignalFD(
188 const std::string& process_type) { 196 const std::string& process_type) {
189 return -1; 197 return -1;
190 } 198 }
191 #endif 199 #endif
192 200
193 #if defined(USE_NSS) 201 #if defined(USE_NSS)
194 crypto::CryptoModuleBlockingPasswordDelegate* 202 crypto::CryptoModuleBlockingPasswordDelegate*
195 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 203 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
196 return NULL; 204 return NULL;
197 } 205 }
198 #endif 206 #endif
199 207
200 } // namespace content 208 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698