Skip to content

Commit

Permalink
Fix header guards in ppapi/ [2/2]
Browse files Browse the repository at this point in the history
Generated mechanically as follows:

git ls-files '*.h' | grep -E '^ppapi/' |\
grep -v third_party |\
parallel --xargs cpplint.py --filter=-,+build/header_guard -- 2>&1 |\
grep build/header | tail -87 |\
tools/apply_cpplint_header_guard.py

Bug: 1200694
Change-Id: I4dc8b77aa26d36e15ac995fc350c3a767d47abba
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3026588
Reviewed-by: Bill Budge <bbudge@chromium.org>
Reviewed-by: Henrique Ferreiro <hferreiro@igalia.com>
Commit-Queue: Sumaid <ssyed@igalia.com>
Cr-Commit-Position: refs/heads/master@{#906597}
  • Loading branch information
ssyedigalia authored and Chromium LUCI CQ committed Jul 29, 2021
1 parent 7efe54e commit 97b95bf
Show file tree
Hide file tree
Showing 42 changed files with 118 additions and 118 deletions.
6 changes: 3 additions & 3 deletions ppapi/tests/test_file_io.h
Expand Up @@ -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 PAPPI_TESTS_TEST_FILE_IO_H_
#define PAPPI_TESTS_TEST_FILE_IO_H_
#ifndef PPAPI_TESTS_TEST_FILE_IO_H_
#define PPAPI_TESTS_TEST_FILE_IO_H_

#include <stdint.h>

Expand Down Expand Up @@ -62,4 +62,4 @@ class TestFileIO : public TestCase {
int32_t expectations);
};

#endif // PAPPI_TESTS_TEST_FILE_IO_H_
#endif // PPAPI_TESTS_TEST_FILE_IO_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_file_ref.h
Expand Up @@ -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 PAPPI_TESTS_TEST_FILE_REF_H_
#define PAPPI_TESTS_TEST_FILE_REF_H_
#ifndef PPAPI_TESTS_TEST_FILE_REF_H_
#define PPAPI_TESTS_TEST_FILE_REF_H_

#include <stdint.h>

Expand Down Expand Up @@ -44,4 +44,4 @@ class TestFileRef : public TestCase {
std::string TestReadDirectoryEntries();
};

#endif // PAPPI_TESTS_TEST_FILE_REF_H_
#endif // PPAPI_TESTS_TEST_FILE_REF_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_file_system.h
Expand Up @@ -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 PAPPI_TESTS_TEST_FILE_SYSTEM_H_
#define PAPPI_TESTS_TEST_FILE_SYSTEM_H_
#ifndef PPAPI_TESTS_TEST_FILE_SYSTEM_H_
#define PPAPI_TESTS_TEST_FILE_SYSTEM_H_

#include <string>

Expand All @@ -23,5 +23,5 @@ class TestFileSystem : public TestCase {
std::string TestResourceConversion();
};

#endif // PAPPI_TESTS_TEST_FILE_SYSTEM_H_
#endif // PPAPI_TESTS_TEST_FILE_SYSTEM_H_

6 changes: 3 additions & 3 deletions ppapi/tests/test_fullscreen.h
Expand Up @@ -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 PAPPI_TESTS_TEST_FULLSCREEN_H_
#define PAPPI_TESTS_TEST_FULLSCREEN_H_
#ifndef PPAPI_TESTS_TEST_FULLSCREEN_H_
#define PPAPI_TESTS_TEST_FULLSCREEN_H_

#include <stdint.h>

Expand Down Expand Up @@ -64,4 +64,4 @@ class TestFullscreen : public TestCase {
NestedEvent normal_event_;
};

#endif // PAPPI_TESTS_TEST_FULLSCREEN_H_
#endif // PPAPI_TESTS_TEST_FULLSCREEN_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_graphics_3d.h
Expand Up @@ -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 PAPPI_TESTS_TEST_GRAPHICS_3D_H_
#define PAPPI_TESTS_TEST_GRAPHICS_3D_H_
#ifndef PPAPI_TESTS_TEST_GRAPHICS_3D_H_
#define PPAPI_TESTS_TEST_GRAPHICS_3D_H_

#include <stdint.h>

Expand Down Expand Up @@ -41,4 +41,4 @@ class TestGraphics3D : public TestCase {
const PPB_OpenGLES2* opengl_es2_;
};

#endif // PAPPI_TESTS_TEST_GRAPHICS_3D_H_
#endif // PPAPI_TESTS_TEST_GRAPHICS_3D_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_instance_deprecated.h
Expand Up @@ -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 PPAPI_TESTS_TEST_INSTANCE_H_
#define PPAPI_TESTS_TEST_INSTANCE_H_
#ifndef PPAPI_TESTS_TEST_INSTANCE_DEPRECATED_H_
#define PPAPI_TESTS_TEST_INSTANCE_DEPRECATED_H_

#include <string>
#include <vector>
Expand Down Expand Up @@ -73,4 +73,4 @@ class TestInstance : public TestCase {
InstanceSO* instance_so_;
};

#endif // PPAPI_TESTS_TEST_INSTANCE_H_
#endif // PPAPI_TESTS_TEST_INSTANCE_DEPRECATED_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_media_stream_video_track.h
Expand Up @@ -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 PAPPI_TESTS_TEST_MEDIA_STREAM_VIDEO_TRACK_H_
#define PAPPI_TESTS_TEST_MEDIA_STREAM_VIDEO_TRACK_H_
#ifndef PPAPI_TESTS_TEST_MEDIA_STREAM_VIDEO_TRACK_H_
#define PPAPI_TESTS_TEST_MEDIA_STREAM_VIDEO_TRACK_H_

#include <string>

Expand Down Expand Up @@ -32,4 +32,4 @@ class TestMediaStreamVideoTrack : public TestCase {
NestedEvent event_;
};

#endif // PAPPI_TESTS_TEST_MEDIA_STREAM_VIDEO_TRACK_H_
#endif // PPAPI_TESTS_TEST_MEDIA_STREAM_VIDEO_TRACK_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_memory.h
Expand Up @@ -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 PPAPI_TEST_TEST_MEMORY_H_
#define PPAPI_TEST_TEST_MEMORY_H_
#ifndef PPAPI_TESTS_TEST_MEMORY_H_
#define PPAPI_TESTS_TEST_MEMORY_H_

#include <string>

Expand All @@ -26,4 +26,4 @@ class TestMemory : public TestCase {
const PPB_Memory_Dev* memory_dev_interface_;
};

#endif // PPAPI_TEST_TEST_VAR_H_
#endif // PPAPI_TESTS_TEST_MEMORY_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_message_loop.h
Expand Up @@ -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 PAPPI_TESTS_TEST_MESSAGE_LOOP_H_
#define PAPPI_TESTS_TEST_MESSAGE_LOOP_H_
#ifndef PPAPI_TESTS_TEST_MESSAGE_LOOP_H_
#define PPAPI_TESTS_TEST_MESSAGE_LOOP_H_

#include <string>

Expand Down Expand Up @@ -40,4 +40,4 @@ class TestMessageLoop : public TestCase {
NestedEvent main_loop_task_ran_;
};

#endif // PAPPI_TESTS_TEST_MESSAGE_LOOP_H_
#endif // PPAPI_TESTS_TEST_MESSAGE_LOOP_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_nacl_irt_stack_alignment.h
Expand Up @@ -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 PPAPI_TEST_TEST_NACL_IRT_STACK_ALIGNMENT_H_
#define PPAPI_TEST_TEST_NACL_IRT_STACK_ALIGNMENT_H_
#ifndef PPAPI_TESTS_TEST_NACL_IRT_STACK_ALIGNMENT_H_
#define PPAPI_TESTS_TEST_NACL_IRT_STACK_ALIGNMENT_H_

#include <string>

Expand All @@ -27,4 +27,4 @@ class TestNaClIRTStackAlignment : public TestCase {
const PPB_Var* var_interface_;
};

#endif // PPAPI_TEST_TEST_NACL_IRT_STACK_ALIGNMENT_H_
#endif // PPAPI_TESTS_TEST_NACL_IRT_STACK_ALIGNMENT_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_net_address.h
Expand Up @@ -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 PAPPI_TESTS_TEST_NET_ADDRESS_H_
#define PAPPI_TESTS_TEST_NET_ADDRESS_H_
#ifndef PPAPI_TESTS_TEST_NET_ADDRESS_H_
#define PPAPI_TESTS_TEST_NET_ADDRESS_H_

#include <string>

Expand All @@ -23,4 +23,4 @@ class TestNetAddress : public TestCase {
std::string TestDescribeAsString();
};

#endif // PAPPI_TESTS_TEST_NET_ADDRESS_H_
#endif // PPAPI_TESTS_TEST_NET_ADDRESS_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_net_address_private.h
Expand Up @@ -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 PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_H_
#define PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_H_
#ifndef PPAPI_TESTS_TEST_NET_ADDRESS_PRIVATE_H_
#define PPAPI_TESTS_TEST_NET_ADDRESS_PRIVATE_H_

#include <string>

Expand All @@ -30,4 +30,4 @@ class TestNetAddressPrivate : public TestCase {
std::string TestGetScopeID();
};

#endif // PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_H_
#endif // PPAPI_TESTS_TEST_NET_ADDRESS_PRIVATE_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_net_address_private_untrusted.h
Expand Up @@ -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 PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_UNTRUSTED_H_
#define PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_UNTRUSTED_H_
#ifndef PPAPI_TESTS_TEST_NET_ADDRESS_PRIVATE_UNTRUSTED_H_
#define PPAPI_TESTS_TEST_NET_ADDRESS_PRIVATE_UNTRUSTED_H_

#include <stdint.h>

Expand Down Expand Up @@ -43,4 +43,4 @@ class TestNetAddressPrivateUntrusted : public TestCase {
uint16_t port_;
};

#endif // PAPPI_TESTS_TEST_NET_ADDRESS_PRIVATE_UNTRUSTED_H_
#endif // PPAPI_TESTS_TEST_NET_ADDRESS_PRIVATE_UNTRUSTED_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_network_monitor.h
Expand Up @@ -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 PAPPI_TESTS_TEST_NETWORK_MONITOR_H_
#define PAPPI_TESTS_TEST_NETWORK_MONITOR_H_
#ifndef PPAPI_TESTS_TEST_NETWORK_MONITOR_H_
#define PPAPI_TESTS_TEST_NETWORK_MONITOR_H_

#include <string>

Expand Down Expand Up @@ -32,4 +32,4 @@ class TestNetworkMonitor : public TestCase {

};

#endif // PAPPI_TESTS_TEST_NETWORK_MONITOR_H_
#endif // PPAPI_TESTS_TEST_NETWORK_MONITOR_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_network_proxy.h
Expand Up @@ -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 PAPPI_TESTS_TEST_NETWORK_PROXY_H_
#define PAPPI_TESTS_TEST_NETWORK_PROXY_H_
#ifndef PPAPI_TESTS_TEST_NETWORK_PROXY_H_
#define PPAPI_TESTS_TEST_NETWORK_PROXY_H_

#include <string>

Expand All @@ -20,4 +20,4 @@ class TestNetworkProxy : public TestCase {
std::string TestGetProxyForURL();
};

#endif // PAPPI_TESTS_TEST_NETWORK_PROXY_H_
#endif // PPAPI_TESTS_TEST_NETWORK_PROXY_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_pdf.h
Expand Up @@ -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 PAPPI_TESTS_TEST_PDF_H_
#define PAPPI_TESTS_TEST_PDF_H_
#ifndef PPAPI_TESTS_TEST_PDF_H_
#define PPAPI_TESTS_TEST_PDF_H_

#include <string>

Expand All @@ -22,4 +22,4 @@ class TestPDF : public TestCase {
std::string TestGetV8ExternalSnapshotData();
};

#endif // PAPPI_TESTS_TEST_PDF_H_
#endif // PPAPI_TESTS_TEST_PDF_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_tcp_socket.h
Expand Up @@ -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 PAPPI_TESTS_TEST_TCP_SOCKET_H_
#define PAPPI_TESTS_TEST_TCP_SOCKET_H_
#ifndef PPAPI_TESTS_TEST_TCP_SOCKET_H_
#define PPAPI_TESTS_TEST_TCP_SOCKET_H_

#include <stddef.h>

Expand Down Expand Up @@ -104,4 +104,4 @@ class TestTCPSocket: public TestCase {
const PPB_TCPSocket_1_0* socket_interface_1_0_;
};

#endif // PAPPI_TESTS_TEST_TCP_SOCKET_H_
#endif // PPAPI_TESTS_TEST_TCP_SOCKET_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_tcp_socket_private.h
Expand Up @@ -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 PAPPI_TESTS_TEST_TCP_SOCKET_PRIVATE_H_
#define PAPPI_TESTS_TEST_TCP_SOCKET_PRIVATE_H_
#ifndef PPAPI_TESTS_TEST_TCP_SOCKET_PRIVATE_H_
#define PPAPI_TESTS_TEST_TCP_SOCKET_PRIVATE_H_

#include <string>

Expand Down Expand Up @@ -48,4 +48,4 @@ class TestTCPSocketPrivate : public TestCase {
uint16_t ssl_port_;
};

#endif // PAPPI_TESTS_TEST_TCP_SOCKET_PRIVATE_H_
#endif // PPAPI_TESTS_TEST_TCP_SOCKET_PRIVATE_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_tcp_socket_private_trusted.h
Expand Up @@ -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 PAPPI_TESTS_TEST_TCP_SOCKET_PRIVATE_TRUSTED_H_
#define PAPPI_TESTS_TEST_TCP_SOCKET_PRIVATE_TRUSTED_H_
#ifndef PPAPI_TESTS_TEST_TCP_SOCKET_PRIVATE_TRUSTED_H_
#define PPAPI_TESTS_TEST_TCP_SOCKET_PRIVATE_TRUSTED_H_

#include <string>

Expand All @@ -29,4 +29,4 @@ class TestTCPSocketPrivateTrusted : public TestCase {
uint16_t ssl_port_;
};

#endif // PAPPI_TESTS_TEST_TCP_SOCKET_PRIVATE_TRUSTED_H_
#endif // PPAPI_TESTS_TEST_TCP_SOCKET_PRIVATE_TRUSTED_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_uma.h
Expand Up @@ -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 PAPPI_TESTS_TEST_UMA_H_
#define PAPPI_TESTS_TEST_UMA_H_
#ifndef PPAPI_TESTS_TEST_UMA_H_
#define PPAPI_TESTS_TEST_UMA_H_

#include <string>

Expand All @@ -27,4 +27,4 @@ class TestUMA : public TestCase {
const PPB_UMA_Private* uma_interface_;
};

#endif // PAPPI_TESTS_TEST_UMA_H_
#endif // PPAPI_TESTS_TEST_UMA_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_url_request.h
Expand Up @@ -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 PAPPI_TESTS_TEST_URL_REQUEST_H_
#define PAPPI_TESTS_TEST_URL_REQUEST_H_
#ifndef PPAPI_TESTS_TEST_URL_REQUEST_H_
#define PPAPI_TESTS_TEST_URL_REQUEST_H_

#include <string>

Expand Down Expand Up @@ -41,4 +41,4 @@ class TestURLRequest : public TestCase {
const PPB_Var* ppb_var_interface_;
};

#endif // PAPPI_TESTS_TEST_URL_REQUEST_H_
#endif // PPAPI_TESTS_TEST_URL_REQUEST_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_var.h
Expand Up @@ -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 PPAPI_TEST_TEST_VAR_H_
#define PPAPI_TEST_TEST_VAR_H_
#ifndef PPAPI_TESTS_TEST_VAR_H_
#define PPAPI_TESTS_TEST_VAR_H_

#include <string>

Expand Down Expand Up @@ -33,4 +33,4 @@ class TestVar : public TestCase {
const PPB_Var* var_interface_;
};

#endif // PPAPI_TEST_TEST_VAR_H_
#endif // PPAPI_TESTS_TEST_VAR_H_
6 changes: 3 additions & 3 deletions ppapi/tests/test_var_deprecated.h
Expand Up @@ -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 PPAPI_TEST_TEST_VAR_DEPRECATED_H_
#define PPAPI_TEST_TEST_VAR_DEPRECATED_H_
#ifndef PPAPI_TESTS_TEST_VAR_DEPRECATED_H_
#define PPAPI_TESTS_TEST_VAR_DEPRECATED_H_

#include <string>

Expand Down Expand Up @@ -43,4 +43,4 @@ class TestVarDeprecated : public TestCase {
pp::VarPrivate var_from_page_;
};

#endif // PPAPI_TEST_TEST_VAR_DEPRECATED_H_
#endif // PPAPI_TESTS_TEST_VAR_DEPRECATED_H_

0 comments on commit 97b95bf

Please sign in to comment.