summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp
diff options
context:
space:
mode:
authorjond@google.com <jond@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-31 16:07:59 +0000
committerjond@google.com <jond@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-31 16:07:59 +0000
commite12a6a1995d233f0f4279e5a4565f485722904e2 (patch)
tree6dcf7e12a7a3d9445b8e2217b96718daecacaede /ppapi/cpp
parent31696e1086a934ec3173309dce177b1a011ddbdf (diff)
downloadchromium_src-e12a6a1995d233f0f4279e5a4565f485722904e2.zip
chromium_src-e12a6a1995d233f0f4279e5a4565f485722904e2.tar.gz
chromium_src-e12a6a1995d233f0f4279e5a4565f485722904e2.tar.bz2
Fixed spelling errors and changed all references to PP_Resource to be the
same (on @param tags) as per polina. Review URL: http://codereview.chromium.org/7701004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98972 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/cpp')
-rw-r--r--ppapi/cpp/audio.h2
-rw-r--r--ppapi/cpp/core.h6
-rw-r--r--ppapi/cpp/file_system.h2
-rw-r--r--ppapi/cpp/image_data.h6
-rw-r--r--ppapi/cpp/resource.h6
-rw-r--r--ppapi/cpp/url_response_info.h3
6 files changed, 15 insertions, 10 deletions
diff --git a/ppapi/cpp/audio.h b/ppapi/cpp/audio.h
index 48bb40e..e42a8e3 100644
--- a/ppapi/cpp/audio.h
+++ b/ppapi/cpp/audio.h
@@ -38,7 +38,7 @@ class Audio : public Resource {
/// the device configuration and is specified in the <code>AudioConfig</code>
/// documentation.
///
- /// @param[in] instance A pointer to an <code>Instance</code> indentifying one
+ /// @param[in] instance A pointer to an <code>Instance</code> identifying one
/// instance of a module.
/// @param[in] config An <code>AudioConfig</code> containing the audio config
/// resource.
diff --git a/ppapi/cpp/core.h b/ppapi/cpp/core.h
index 5c3ad77e..35b8655 100644
--- a/ppapi/cpp/core.h
+++ b/ppapi/cpp/core.h
@@ -26,7 +26,8 @@ class Core {
/// AddRefResource() increments the reference count for the provided
/// <code>resource</code>.
///
- /// @param[in] resource A <code>PP_Resource</code> containing the resource.
+ /// @param[in] resource A <code>PP_Resource</code> corresponding to a
+ /// resource.
void AddRefResource(PP_Resource resource) {
interface_->AddRefResource(resource);
}
@@ -35,7 +36,8 @@ class Core {
/// <code>resource</code>. The resource will be deallocated if the
/// reference count reaches zero.
///
- /// @param[in] resource A <code>PP_Resource</code> containing the resource.
+ /// @param[in] resource A <code>PP_Resource</code> corresponding to a
+ /// resource.
void ReleaseResource(PP_Resource resource) {
interface_->ReleaseResource(resource);
}
diff --git a/ppapi/cpp/file_system.h b/ppapi/cpp/file_system.h
index db62bd7..1c213d6 100644
--- a/ppapi/cpp/file_system.h
+++ b/ppapi/cpp/file_system.h
@@ -29,7 +29,7 @@ class FileSystem : public Resource {
/// This constructor creates a file system object of the given type.
///
- /// @param[in] instance A <code>Instance</code> indentifying the instance
+ /// @param[in] instance A <code>Instance</code> identifying the instance
/// with the file.
/// @param[in] type A file system type as defined by
/// <code>PP_FileSystemType</code> enum.
diff --git a/ppapi/cpp/image_data.h b/ppapi/cpp/image_data.h
index e4159c0..e8bed28 100644
--- a/ppapi/cpp/image_data.h
+++ b/ppapi/cpp/image_data.h
@@ -29,8 +29,8 @@ class ImageData : public Resource {
/// reference count of the underlying Image resource.
struct PassRef {};
- /// A constructor used when you have received a PP_Resource as a return
- /// value that has already been reference counted.
+ /// A constructor used when you have received a <code>PP_Resource</code> as a
+ /// return value that has already been reference counted.
///
/// @param[in] resource A PP_Resource corresponding to image data.
ImageData(PassRef, PP_Resource resource);
@@ -46,7 +46,7 @@ class ImageData : public Resource {
/// with the provided parameters. The resulting object will be is_null() if
/// the allocation failed.
///
- /// @param[in] instance A <code>PP_Instance</code> indentifying one instance
+ /// @param[in] instance A <code>PP_Instance</code> identifying one instance
/// of a module.
///
/// @param[in] format A PP_ImageDataFormat containing desired image format.
diff --git a/ppapi/cpp/resource.h b/ppapi/cpp/resource.h
index 584a82c..e6bd074 100644
--- a/ppapi/cpp/resource.h
+++ b/ppapi/cpp/resource.h
@@ -56,7 +56,8 @@ class Resource {
/// A constructor used when a <code>PP_Resource</code> is provided as a
/// return value whose reference count we need to increment.
///
- /// @param[in] resource A <code>PP_Resource</code>.
+ /// @param[in] resource A <code>PP_Resource</code> corresponding to a
+ /// resource.
explicit Resource(PP_Resource resource);
/// PassRefFromConstructor is called by derived class' constructors to
@@ -71,7 +72,8 @@ class Resource {
/// since it was returned by the browser, already had its reference count
/// increased).
///
- /// @param[in] resource A PP_Resource.
+ /// @param[in] resource A <code>PP_Resource</code> corresponding to a
+ /// resource.
void PassRefFromConstructor(PP_Resource resource);
private:
diff --git a/ppapi/cpp/url_response_info.h b/ppapi/cpp/url_response_info.h
index 0a56eeb..aee4ca1 100644
--- a/ppapi/cpp/url_response_info.h
+++ b/ppapi/cpp/url_response_info.h
@@ -29,7 +29,8 @@ class URLResponseInfo : public Resource {
/// A constructor used when you have received a <code>PP_Resource</code> as a
/// return value that has already been reference counted.
///
- /// @param[in] resource A <code>PP_Resource</code>.
+ /// @param[in] resource A <code>PP_Resource</code> corresponding to a
+ /// resource.
URLResponseInfo(PassRef, PP_Resource resource);
/// The copy constructor for <code>URLResponseInfo</code>.