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

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

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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>
9
8 #include <map> 10 #include <map>
9 #include <string> 11 #include <string>
10 #include <vector> 12 #include <vector>
11 13
12 #include "base/basictypes.h"
13 #include "base/callback_forward.h" 14 #include "base/callback_forward.h"
14 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
16 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
17 #include "base/memory/weak_ptr.h" 19 #include "base/memory/weak_ptr.h"
18 #include "base/prefs/pref_member.h" 20 #include "base/prefs/pref_member.h"
19 #include "base/synchronization/lock.h" 21 #include "base/synchronization/lock.h"
22 #include "build/build_config.h"
20 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" 23 #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
21 #include "chrome/browser/devtools/devtools_network_controller_handle.h" 24 #include "chrome/browser/devtools/devtools_network_controller_handle.h"
22 #include "chrome/browser/io_thread.h" 25 #include "chrome/browser/io_thread.h"
23 #include "chrome/browser/profiles/profile.h" 26 #include "chrome/browser/profiles/profile.h"
24 #include "chrome/browser/profiles/storage_partition_descriptor.h" 27 #include "chrome/browser/profiles/storage_partition_descriptor.h"
25 #include "components/content_settings/core/common/content_settings_types.h" 28 #include "components/content_settings/core/common/content_settings_types.h"
26 #include "content/public/browser/content_browser_client.h" 29 #include "content/public/browser/content_browser_client.h"
27 #include "content/public/browser/resource_context.h" 30 #include "content/public/browser/resource_context.h"
28 #include "net/cert/ct_verifier.h" 31 #include "net/cert/ct_verifier.h"
29 #include "net/cookies/cookie_monster.h" 32 #include "net/cookies/cookie_monster.h"
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 class ResourceContext : public content::ResourceContext { 405 class ResourceContext : public content::ResourceContext {
403 public: 406 public:
404 explicit ResourceContext(ProfileIOData* io_data); 407 explicit ResourceContext(ProfileIOData* io_data);
405 ~ResourceContext() override; 408 ~ResourceContext() override;
406 409
407 // ResourceContext implementation: 410 // ResourceContext implementation:
408 net::HostResolver* GetHostResolver() override; 411 net::HostResolver* GetHostResolver() override;
409 net::URLRequestContext* GetRequestContext() override; 412 net::URLRequestContext* GetRequestContext() override;
410 scoped_ptr<net::ClientCertStore> CreateClientCertStore() override; 413 scoped_ptr<net::ClientCertStore> CreateClientCertStore() override;
411 void CreateKeygenHandler( 414 void CreateKeygenHandler(
412 uint32 key_size_in_bits, 415 uint32_t key_size_in_bits,
413 const std::string& challenge_string, 416 const std::string& challenge_string,
414 const GURL& url, 417 const GURL& url,
415 const base::Callback<void(scoped_ptr<net::KeygenHandler>)>& callback) 418 const base::Callback<void(scoped_ptr<net::KeygenHandler>)>& callback)
416 override; 419 override;
417 SaltCallback GetMediaDeviceIDSalt() override; 420 SaltCallback GetMediaDeviceIDSalt() override;
418 421
419 private: 422 private:
420 friend class ProfileIOData; 423 friend class ProfileIOData;
421 424
422 ProfileIOData* const io_data_; 425 ProfileIOData* const io_data_;
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 596
594 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. 597 // TODO(jhawkins): Remove once crbug.com/102004 is fixed.
595 bool initialized_on_UI_thread_; 598 bool initialized_on_UI_thread_;
596 599
597 const Profile::ProfileType profile_type_; 600 const Profile::ProfileType profile_type_;
598 601
599 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 602 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
600 }; 603 };
601 604
602 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 605 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_info_interface.h ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698