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

Side by Side Diff: content/browser/content_browser_client.h

Issue 8113035: Remove RenderProcessHost::is_extension_process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years, 2 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
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 #ifndef CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 virtual void ClearCache(RenderViewHost* rvh) = 0; 295 virtual void ClearCache(RenderViewHost* rvh) = 0;
296 296
297 // Clears browser cookies. 297 // Clears browser cookies.
298 virtual void ClearCookies(RenderViewHost* rvh) = 0; 298 virtual void ClearCookies(RenderViewHost* rvh) = 0;
299 299
300 // Returns the default download directory. 300 // Returns the default download directory.
301 // This can be called on any thread. 301 // This can be called on any thread.
302 virtual FilePath GetDefaultDownloadDirectory() = 0; 302 virtual FilePath GetDefaultDownloadDirectory() = 0;
303 303
304 #if defined(OS_POSIX) && !defined(OS_MACOSX) 304 #if defined(OS_POSIX) && !defined(OS_MACOSX)
305 // Can return an optional fd for crash handling, otherwise returns -1. 305 // Can return an optional fd for crash handling, otherwise returns -1. The
306 virtual int GetCrashSignalFD(const std::string& process_type) = 0; 306 // passed |command_line| will be used to start the process in question.
307 virtual int GetCrashSignalFD(const CommandLine& command_line) = 0;
307 #endif 308 #endif
308 309
309 #if defined(OS_WIN) 310 #if defined(OS_WIN)
310 // Returns the name of the dll that contains cursors and other resources. 311 // Returns the name of the dll that contains cursors and other resources.
311 virtual const wchar_t* GetResourceDllName() = 0; 312 virtual const wchar_t* GetResourceDllName() = 0;
312 #endif 313 #endif
313 314
314 #if defined(USE_NSS) 315 #if defined(USE_NSS)
315 // Return a delegate to authenticate and unlock |module|. 316 // Return a delegate to authenticate and unlock |module|.
316 // This is called on a worker thread. 317 // This is called on a worker thread.
317 virtual 318 virtual
318 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 319 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
319 const GURL& url) = 0; 320 const GURL& url) = 0;
320 #endif 321 #endif
321 }; 322 };
322 323
323 } // namespace content 324 } // namespace content
324 325
325 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 326 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/child_process_launcher.cc ('k') | content/browser/mock_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698