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

Side by Side Diff: chrome/common/chrome_content_client.h

Issue 2072383002: Trace revision and v8 version for IterationInfo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add revision in ChromeTracingDelegate and AwTracingDelegate to keep version_info out of content Created 4 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
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_COMMON_CHROME_CONTENT_CLIENT_H_ 5 #ifndef CHROME_COMMON_CHROME_CONTENT_CLIENT_H_
6 #define CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ 6 #define CHROME_COMMON_CHROME_CONTENT_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 void SetGpuInfo(const gpu::GPUInfo& gpu_info) override; 64 void SetGpuInfo(const gpu::GPUInfo& gpu_info) override;
65 void AddPepperPlugins( 65 void AddPepperPlugins(
66 std::vector<content::PepperPluginInfo>* plugins) override; 66 std::vector<content::PepperPluginInfo>* plugins) override;
67 void AddContentDecryptionModules( 67 void AddContentDecryptionModules(
68 std::vector<content::CdmInfo>* cdms) override; 68 std::vector<content::CdmInfo>* cdms) override;
69 void AddAdditionalSchemes(std::vector<url::SchemeWithType>* standard_schemes, 69 void AddAdditionalSchemes(std::vector<url::SchemeWithType>* standard_schemes,
70 std::vector<url::SchemeWithType>* referrer_schemes, 70 std::vector<url::SchemeWithType>* referrer_schemes,
71 std::vector<std::string>* saveable_shemes) override; 71 std::vector<std::string>* saveable_shemes) override;
72 bool CanSendWhileSwappedOut(const IPC::Message* message) override; 72 bool CanSendWhileSwappedOut(const IPC::Message* message) override;
73 std::string GetProduct() const override; 73 std::string GetProduct() const override;
74 std::string GetV8Version() const override;
74 std::string GetUserAgent() const override; 75 std::string GetUserAgent() const override;
75 base::string16 GetLocalizedString(int message_id) const override; 76 base::string16 GetLocalizedString(int message_id) const override;
76 base::StringPiece GetDataResource( 77 base::StringPiece GetDataResource(
77 int resource_id, 78 int resource_id,
78 ui::ScaleFactor scale_factor) const override; 79 ui::ScaleFactor scale_factor) const override;
79 base::RefCountedMemory* GetDataResourceBytes( 80 base::RefCountedMemory* GetDataResourceBytes(
80 int resource_id) const override; 81 int resource_id) const override;
81 gfx::Image& GetNativeImageNamed(int resource_id) const override; 82 gfx::Image& GetNativeImageNamed(int resource_id) const override;
82 std::string GetProcessTypeNameInEnglish(int type) override; 83 std::string GetProcessTypeNameInEnglish(int type) override;
83 84
(...skipping 15 matching lines...) Expand all
99 100
100 #if defined(OS_ANDROID) 101 #if defined(OS_ANDROID)
101 media::MediaClientAndroid* GetMediaClientAndroid() override; 102 media::MediaClientAndroid* GetMediaClientAndroid() override;
102 #endif // OS_ANDROID 103 #endif // OS_ANDROID
103 104
104 private: 105 private:
105 std::unique_ptr<ChromeOriginTrialPolicy> origin_trial_policy_; 106 std::unique_ptr<ChromeOriginTrialPolicy> origin_trial_policy_;
106 }; 107 };
107 108
108 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ 109 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698