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

Side by Side Diff: chrome/browser/profiles/profile_io_data.h

Issue 1547273003: Set trusted SPDY proxy dynamically on per-profile basis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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_PROFILES_PROFILE_IO_DATA_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 426
427 net::HostResolver* host_resolver_; 427 net::HostResolver* host_resolver_;
428 net::URLRequestContext* request_context_; 428 net::URLRequestContext* request_context_;
429 }; 429 };
430 430
431 typedef std::map<StoragePartitionDescriptor, 431 typedef std::map<StoragePartitionDescriptor,
432 net::URLRequestContext*, 432 net::URLRequestContext*,
433 StoragePartitionDescriptorLess> 433 StoragePartitionDescriptorLess>
434 URLRequestContextMap; 434 URLRequestContextMap;
435 435
436 // Sets the |trusted_spdy_proxy_provider| in |params| on IO thread. |params|
437 // should not be NULL.
438 void SetTrustedSpdyProxyProvider(
439 const ProfileParams& profile_params,
440 net::HttpNetworkSession::Params* params) const;
441
436 // -------------------------------------------- 442 // --------------------------------------------
437 // Virtual interface for subtypes to implement: 443 // Virtual interface for subtypes to implement:
438 // -------------------------------------------- 444 // --------------------------------------------
439 445
440 // Does the actual initialization of the ProfileIOData subtype. Subtypes 446 // Does the actual initialization of the ProfileIOData subtype. Subtypes
441 // should use the static helper functions above to implement this. 447 // should use the static helper functions above to implement this.
442 virtual void InitializeInternal( 448 virtual void InitializeInternal(
443 scoped_ptr<ChromeNetworkDelegate> chrome_network_delegate, 449 scoped_ptr<ChromeNetworkDelegate> chrome_network_delegate,
444 ProfileParams* profile_params, 450 ProfileParams* profile_params,
445 content::ProtocolHandlerMap* protocol_handlers, 451 content::ProtocolHandlerMap* protocol_handlers,
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 602
597 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. 603 // TODO(jhawkins): Remove once crbug.com/102004 is fixed.
598 bool initialized_on_UI_thread_; 604 bool initialized_on_UI_thread_;
599 605
600 const Profile::ProfileType profile_type_; 606 const Profile::ProfileType profile_type_;
601 607
602 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 608 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
603 }; 609 };
604 610
605 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 611 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698