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

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

Issue 1880933002: Begin to enable extension APIs in Extension Service Worker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync @tott Created 4 years, 7 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 #if defined(OS_MACOSX) 80 #if defined(OS_MACOSX)
81 bool GetSandboxProfileForSandboxType( 81 bool GetSandboxProfileForSandboxType(
82 int sandbox_type, 82 int sandbox_type,
83 int* sandbox_profile_resource_id) const override; 83 int* sandbox_profile_resource_id) const override;
84 #endif 84 #endif
85 85
86 void AddSecureSchemesAndOrigins(std::set<std::string>* schemes, 86 void AddSecureSchemesAndOrigins(std::set<std::string>* schemes,
87 std::set<GURL>* origins) override; 87 std::set<GURL>* origins) override;
88 88
89 void AddServiceWorkerSchemes(std::set<std::string>* schemes) override; 89 void AddServiceWorkerSchemes(std::set<std::string>* schemes) override;
90 bool AllowScriptExtensionForServiceWorker(const GURL& script_url) override;
90 91
91 bool IsSupplementarySiteIsolationModeEnabled() override; 92 bool IsSupplementarySiteIsolationModeEnabled() override;
92 base::StringPiece GetOriginTrialPublicKey() override; 93 base::StringPiece GetOriginTrialPublicKey() override;
93 94
94 OriginTrialKeyManager* origin_trial_key_manager() { 95 OriginTrialKeyManager* origin_trial_key_manager() {
95 return &origin_trial_key_manager_; 96 return &origin_trial_key_manager_;
96 } 97 }
97 98
98 #if defined(OS_ANDROID) 99 #if defined(OS_ANDROID)
99 media::MediaClientAndroid* GetMediaClientAndroid() override; 100 media::MediaClientAndroid* GetMediaClientAndroid() override;
100 #endif // OS_ANDROID 101 #endif // OS_ANDROID
101 102
102 private: 103 private:
103 OriginTrialKeyManager origin_trial_key_manager_; 104 OriginTrialKeyManager origin_trial_key_manager_;
104 }; 105 };
105 106
106 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ 107 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/service_worker_apitest.cc ('k') | chrome/common/chrome_content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698