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

Unified Diff: content/test/test_content_client.h

Issue 8589001: Load mac sandbox definitions from resources instead of the bundle. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/DEPS ('k') | content/test/test_content_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_content_client.h
diff --git a/content/test/test_content_client.h b/content/test/test_content_client.h
index d4b27bf1017fec0dfe6398b24a4e7244fe5db327..44399a77db61629ff70d5b8b6d99d04eb7e400e9 100644
--- a/content/test/test_content_client.h
+++ b/content/test/test_content_client.h
@@ -8,6 +8,7 @@
#include "base/compiler_specific.h"
#include "content/public/common/content_client.h"
+#include "ui/base/resource/data_pack.h"
class TestContentClient : public content::ContentClient {
public:
@@ -30,8 +31,15 @@ class TestContentClient : public content::ContentClient {
virtual bool SandboxPlugin(CommandLine* command_line,
sandbox::TargetPolicy* policy) OVERRIDE;
#endif
+#if defined(OS_MACOSX)
+ virtual bool GetSandboxProfileForSandboxType(
+ int sandbox_type,
+ int* sandbox_profile_resource_id) const OVERRIDE;
+#endif
private:
+ ui::DataPack data_pack_;
+
DISALLOW_COPY_AND_ASSIGN(TestContentClient);
};
« no previous file with comments | « content/test/DEPS ('k') | content/test/test_content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698