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

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

Issue 14329020: Implementing uploading of a WebRTC diagnostic log. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed two files Created 7 years, 7 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) 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 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 16 matching lines...) Expand all
27 #if defined(OS_POSIX) && !defined(OS_MACOSX) 27 #if defined(OS_POSIX) && !defined(OS_MACOSX)
28 #include "base/posix/global_descriptors.h" 28 #include "base/posix/global_descriptors.h"
29 #endif 29 #endif
30 30
31 class CommandLine; 31 class CommandLine;
32 class GURL; 32 class GURL;
33 struct WebPreferences; 33 struct WebPreferences;
34 34
35 namespace base { 35 namespace base {
36 class FilePath; 36 class FilePath;
37 class SharedMemory;
37 } 38 }
39
38 namespace crypto { 40 namespace crypto {
39 class CryptoModuleBlockingPasswordDelegate; 41 class CryptoModuleBlockingPasswordDelegate;
40 } 42 }
41 43
42 namespace gfx { 44 namespace gfx {
43 class ImageSkia; 45 class ImageSkia;
44 } 46 }
45 47
46 namespace net { 48 namespace net {
47 class CookieOptions; 49 class CookieOptions;
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 bool* success) {} 542 bool* success) {}
541 #endif 543 #endif
542 544
543 #if defined(USE_NSS) 545 #if defined(USE_NSS)
544 // Return a delegate to authenticate and unlock |module|. 546 // Return a delegate to authenticate and unlock |module|.
545 // This is called on a worker thread. 547 // This is called on a worker thread.
546 virtual 548 virtual
547 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 549 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
548 const GURL& url); 550 const GURL& url);
549 #endif 551 #endif
552
553 // Returns whether WebRTC logging is allowed or not. It can return false for
554 // example if not supported, if any initialization fails or if maximum number
555 // of simultaneos logs is reached already.
556 virtual bool IsWebRtcLoggingAllowed();
557
558 // Tells the embedder to upload a WebRTC log file.
559 virtual void UploadWebRtcLog(base::SharedMemory* shared_memory,
560 uint32 length) {}
550 }; 561 };
551 562
552 } // namespace content 563 } // namespace content
553 564
554 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 565 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698