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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 935663004: Add checkbox for reporting invalid TLS/SSL cert chains (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: set callback to DoNothing close to where it's used Created 5 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
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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/gtest_prod_util.h" 14 #include "base/gtest_prod_util.h"
15 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
16 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
17 #include "chrome/common/chrome_version_info.h" 18 #include "chrome/common/chrome_version_info.h"
18 #include "content/public/browser/content_browser_client.h" 19 #include "content/public/browser/content_browser_client.h"
19 20
20 class ChromeContentBrowserClientParts; 21 class ChromeContentBrowserClientParts;
21 22
22 namespace base { 23 namespace base {
23 class CommandLine; 24 class CommandLine;
24 } 25 }
25 26
27 namespace chrome_browser_net {
28 class CertificateErrorReporter;
29 }
30
26 namespace content { 31 namespace content {
27 class QuotaPermissionContext; 32 class QuotaPermissionContext;
28 } 33 }
29 34
30 namespace extensions { 35 namespace extensions {
31 class BrowserPermissionsPolicyDelegate; 36 class BrowserPermissionsPolicyDelegate;
32 } 37 }
33 38
34 namespace user_prefs { 39 namespace user_prefs {
35 class PrefRegistrySyncable; 40 class PrefRegistrySyncable;
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 331
327 #if defined(OS_POSIX) && !defined(OS_MACOSX) 332 #if defined(OS_POSIX) && !defined(OS_MACOSX)
328 base::ScopedFD v8_natives_fd_; 333 base::ScopedFD v8_natives_fd_;
329 base::ScopedFD v8_snapshot_fd_; 334 base::ScopedFD v8_snapshot_fd_;
330 #endif // OS_POSIX && !OS_MACOSX 335 #endif // OS_POSIX && !OS_MACOSX
331 336
332 // Vector of additional ChromeContentBrowserClientParts. 337 // Vector of additional ChromeContentBrowserClientParts.
333 // Parts are deleted in the reverse order they are added. 338 // Parts are deleted in the reverse order they are added.
334 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 339 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
335 340
341 scoped_refptr<chrome_browser_net::CertificateErrorReporter>
342 certificate_error_reporter_;
Ryan Sleevi 2015/03/14 03:09:42 +1 to felt that we shouldn't be sticking this here
343
336 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 344 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
337 345
338 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 346 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
339 }; 347 };
340 348
341 } // namespace chrome 349 } // namespace chrome
342 350
343 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 351 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698