summaryrefslogtreecommitdiffstats
path: root/webkit/support/platform_support.h
diff options
context:
space:
mode:
authortkent@google.com <tkent@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-05 08:46:20 +0000
committertkent@google.com <tkent@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-05 08:46:20 +0000
commit831d36b259bb29400123b7c186d67276cbbb9eb8 (patch)
treeaac014b4fd8a7c0581887dc90533f85fbb25b223 /webkit/support/platform_support.h
parent70aa5b3f170b0f0edbaae0dfcf079740b39a2d68 (diff)
downloadchromium_src-831d36b259bb29400123b7c186d67276cbbb9eb8.zip
chromium_src-831d36b259bb29400123b7c186d67276cbbb9eb8.tar.gz
chromium_src-831d36b259bb29400123b7c186d67276cbbb9eb8.tar.bz2
Add more wrapper functions to webkit_support to avoid dependency to
debug_util.h, message_loop.h, file_path.h, file_util.h, path_service.h. platform_support contains hook functions called before/after initialization/shutdown. TEST=none BUG=none Review URL: http://codereview.chromium.org/1331001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43604 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support/platform_support.h')
-rw-r--r--webkit/support/platform_support.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/webkit/support/platform_support.h b/webkit/support/platform_support.h
new file mode 100644
index 0000000..d3f00ea
--- /dev/null
+++ b/webkit/support/platform_support.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WEBKIT_SUPPORT_PLATFORM_SUPORT_H_
+#define WEBKIT_SUPPORT_PLATFORM_SUPORT_H_
+
+namespace webkit_support {
+// Called before WebKit::initialize().
+void BeforeInitialize();
+
+// Called after WebKit::initialize().
+void AfterIniitalize();
+
+// Called before WebKit::shutdown().
+void BeforeShutdown();
+
+// Called after WebKit::shutdown().
+void AfterShutdown();
+} // namespace webkit_support
+
+#endif // WEBKIT_SUPPORT_PLATFORM_SUPORT_H_