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

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

Issue 1315303002: Dispatch DRP IPC call from renderer main thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Override CanSendWhileSwappedOut Created 5 years, 3 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 #if defined(OS_MACOSX) && !defined(OS_IOS) 72 #if defined(OS_MACOSX) && !defined(OS_IOS)
73 bool GetSandboxProfileForSandboxType( 73 bool GetSandboxProfileForSandboxType(
74 int sandbox_type, 74 int sandbox_type,
75 int* sandbox_profile_resource_id) const override; 75 int* sandbox_profile_resource_id) const override;
76 #endif 76 #endif
77 77
78 void AddSecureSchemesAndOrigins(std::set<std::string>* schemes, 78 void AddSecureSchemesAndOrigins(std::set<std::string>* schemes,
79 std::set<GURL>* origins) override; 79 std::set<GURL>* origins) override;
80 80
81 void AddServiceWorkerSchemes(std::set<std::string>* schemes) override; 81 void AddServiceWorkerSchemes(std::set<std::string>* schemes) override;
82
83 bool CanSendWhileSwappedOut(const IPC::Message* message) override;
Charlie Reis 2015/09/02 17:16:30 nit: List this in the same order as in content_cli
tbansal1 2015/09/02 17:30:26 Done.
82 }; 84 };
83 85
84 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ 86 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698