Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(474)

Unified Diff: chrome/common/pepper_file_messages.h

Issue 6695032: Convert dom_storage, pepper, pepper_file, and automation messages to new form... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/dom_storage_messages.cc ('k') | chrome/common/pepper_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pepper_file_messages.h
===================================================================
--- chrome/common/pepper_file_messages.h (revision 78252)
+++ chrome/common/pepper_file_messages.h (working copy)
@@ -2,10 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_COMMON_PEPPER_FILE_MESSAGES_H_
-#define CHROME_COMMON_PEPPER_FILE_MESSAGES_H_
-#pragma once
-
+// Multiply-included message file, no traditional include guard.
#include "content/common/common_param_traits.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_param_traits.h"
@@ -13,7 +10,9 @@
#include "webkit/plugins/ppapi/dir_contents.h"
#include "webkit/plugins/ppapi/file_path.h"
-#define IPC_MESSAGE_START PepperFileMsgStart
+// Singly-included section, still not converted
+#ifndef CHROME_COMMON_PEPPER_FILE_MESSAGES_H_
+#define CHROME_COMMON_PEPPER_FILE_MESSAGES_H_
namespace IPC {
@@ -36,6 +35,10 @@
} // namespace IPC
+#endif // CHROME_COMMON_PEPPER_FILE_MESSAGES_H_
+
+#define IPC_MESSAGE_START PepperFileMsgStart
+
// Trusted Pepper Filesystem messages from the renderer to the browser.
// Open the file.
@@ -74,4 +77,3 @@
webkit::ppapi::DirContents, /* contents */
base::PlatformFileError /* error_code */)
-#endif // CHROME_COMMON_PEPPER_FILE_MESSAGES_H_
« no previous file with comments | « chrome/common/dom_storage_messages.cc ('k') | chrome/common/pepper_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698