diff options
Diffstat (limited to 'android_webview/common')
-rw-r--r-- | android_webview/common/aw_resource.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/android_webview/common/aw_resource.h b/android_webview/common/aw_resource.h new file mode 100644 index 0000000..1ed5e3a --- /dev/null +++ b/android_webview/common/aw_resource.h @@ -0,0 +1,22 @@ +// Copyright (c) 2012 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 ANDROID_WEBVIEW_COMMON_AW_RESOURCE_H_ +#define ANDROID_WEBVIEW_COMMON_AW_RESOURCE_H_ + +#include <string> + +// android_webview implements these with a JNI call to the +// AwResource Java class. +namespace android_webview { +namespace AwResource { + +std::string GetLoadErrorPageContent(); +std::string GetNoDomainPageContent(); +std::string GetDefaultTextEncoding(); + +} // namespace AwResource +} // namsespace android_webview + +#endif // ANDROID_WEBVIEW_COMMON_AW_RESOURCE_H_ |