From dfc2dfb0f59c74f361e6eba9d5e913e4c2ad7321 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Fri, 23 Jan 2015 19:23:54 +0000 Subject: [PATCH] cefclient: Move all remaining files to the `client` namespace (issue #1500). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1990 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- tests/cefclient/bytes_write_handler.h | 1 + tests/cefclient/print_handler_gtk.cc | 3 +++ tests/cefclient/print_handler_gtk.h | 5 ++++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/cefclient/bytes_write_handler.h b/tests/cefclient/bytes_write_handler.h index 6d9f141f9..9c0f8d0a7 100644 --- a/tests/cefclient/bytes_write_handler.h +++ b/tests/cefclient/bytes_write_handler.h @@ -36,6 +36,7 @@ class BytesWriteHandler : public CefWriteHandler { base::Lock lock_; IMPLEMENT_REFCOUNTING(BytesWriteHandler); + DISALLOW_COPY_AND_ASSIGN(BytesWriteHandler); }; } // namespace client diff --git a/tests/cefclient/print_handler_gtk.cc b/tests/cefclient/print_handler_gtk.cc index 291e8f99e..6437e2065 100644 --- a/tests/cefclient/print_handler_gtk.cc +++ b/tests/cefclient/print_handler_gtk.cc @@ -11,6 +11,8 @@ #include "include/base/cef_macros.h" #include "include/wrapper/cef_helpers.h" +namespace client { + namespace { // CUPS Duplex attribute and values. @@ -521,3 +523,4 @@ void ClientPrintHandlerGtk::OnJobCompleted(GtkPrintJob* print_job, job_callback_ = NULL; } +} // namespace client diff --git a/tests/cefclient/print_handler_gtk.h b/tests/cefclient/print_handler_gtk.h index 13788f51d..0949e3b23 100644 --- a/tests/cefclient/print_handler_gtk.h +++ b/tests/cefclient/print_handler_gtk.h @@ -12,6 +12,8 @@ #include "include/cef_print_handler.h" +namespace client { + class ClientPrintHandlerGtk : public CefPrintHandler { public: ClientPrintHandlerGtk(); @@ -58,5 +60,6 @@ class ClientPrintHandlerGtk : public CefPrintHandler { IMPLEMENT_REFCOUNTING(ClientPrintHandlerGtk); }; -#endif // CEF_TESTS_CEFCLIENT_PRINT_HANDLER_GTK_H_ +} // namespace client +#endif // CEF_TESTS_CEFCLIENT_PRINT_HANDLER_GTK_H_