summaryrefslogtreecommitdiffstats
path: root/gin/try_catch.h
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-27 02:10:15 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-27 02:10:15 +0000
commit60531d54b668c625ea5e2e7d4285ae8ac7388691 (patch)
treea4115e697100a456647bd76d93d58f039e04eff8 /gin/try_catch.h
parent3af5a0aed53fe0a189e4e39d6885ea791d0473fa (diff)
downloadchromium_src-60531d54b668c625ea5e2e7d4285ae8ac7388691.zip
chromium_src-60531d54b668c625ea5e2e7d4285ae8ac7388691.tar.gz
chromium_src-60531d54b668c625ea5e2e7d4285ae8ac7388691.tar.bz2
[Gin] Add documentation to explain how Gin works
This code is likely to evolve over time, but we've reached a stage where the basic structure is mostly in place. This CL documents this structure so that future developers will understand what we have in mind now. R=aa@chromium.org BUG=none Review URL: https://codereview.chromium.org/88913006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237485 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gin/try_catch.h')
-rw-r--r--gin/try_catch.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gin/try_catch.h b/gin/try_catch.h
index 43f68ac..390fb22 100644
--- a/gin/try_catch.h
+++ b/gin/try_catch.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef GIN_EXCEPTION_H_
-#define GIN_EXCEPTION_H_
+#ifndef GIN_TRY_CATCH_H_
+#define GIN_TRY_CATCH_H_
#include <string>
@@ -12,6 +12,7 @@
namespace gin {
+// TryCatch is a convenient wrapper around v8::TryCatch.
class TryCatch {
public:
TryCatch();
@@ -28,4 +29,4 @@ class TryCatch {
} // namespace gin
-#endif // GIN_EXCEPTION_H_
+#endif // GIN_TRY_CATCH_H_