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

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

Issue 369703002: Remember user decisions on invalid certificates behind a flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More fixes from sleevi plus a rebase on ToT Created 6 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
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>
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 permissions_policy_delegate_; 337 permissions_policy_delegate_;
338 338
339 // The prerender tracker used to determine whether a render process is used 339 // The prerender tracker used to determine whether a render process is used
340 // for prerendering and an override cookie store must be provided. 340 // for prerendering and an override cookie store must be provided.
341 // This needs to be kept as a member rather than just looked up from 341 // This needs to be kept as a member rather than just looked up from
342 // the profile due to initialization ordering, as well as due to threading. 342 // the profile due to initialization ordering, as well as due to threading.
343 // It is initialized on the UI thread when the ResoureDispatcherHost is 343 // It is initialized on the UI thread when the ResoureDispatcherHost is
344 // created. It is used only the IO thread. 344 // created. It is used only the IO thread.
345 prerender::PrerenderTracker* prerender_tracker_; 345 prerender::PrerenderTracker* prerender_tracker_;
346 346
347 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 347 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
348 348
349 friend class DisableWebRtcEncryptionFlagTest; 349 friend class DisableWebRtcEncryptionFlagTest;
350 350
351 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 351 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
352 }; 352 };
353 353
354 } // namespace chrome 354 } // namespace chrome
355 355
356 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 356 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698