Bug 717220 - Tons of 'comma at end of enumerator list' warnings r=jones.chris.g

This commit is contained in:
Jacek Caban 2012-01-12 12:07:50 +01:00
parent 01b2839905
commit bcd83798dc
8 changed files with 12 additions and 12 deletions

View File

@ -297,7 +297,7 @@ class Histogram {
// histogram!).
kIPCSerializationSourceFlag = 0x10,
kHexRangePrintingFlag = 0x8000, // Fancy bucket-naming supported.
kHexRangePrintingFlag = 0x8000 // Fancy bucket-naming supported.
};
enum Inconsistencies {

View File

@ -146,7 +146,7 @@ enum TrimPositions {
TRIM_NONE = 0,
TRIM_LEADING = 1 << 0,
TRIM_TRAILING = 1 << 1,
TRIM_ALL = TRIM_LEADING | TRIM_TRAILING,
TRIM_ALL = TRIM_LEADING | TRIM_TRAILING
};
TrimPositions TrimWhitespace(const std::wstring& input,
TrimPositions positions,
@ -224,7 +224,7 @@ class OnStringUtilConversionError {
// The offending characters are skipped and the conversion will proceed as
// if they did not exist.
SKIP,
SKIP
};
private:
@ -353,7 +353,7 @@ enum DataUnits {
DATA_UNITS_BYTE = 0,
DATA_UNITS_KILOBYTE,
DATA_UNITS_MEGABYTE,
DATA_UNITS_GIGABYTE,
DATA_UNITS_GIGABYTE
};
// Return the unit type that is appropriate for displaying the amount of bytes

View File

@ -229,7 +229,7 @@ class Comparator {
BIRTH_LINE = 16,
COUNT = 32,
AVERAGE_DURATION = 64,
TOTAL_DURATION = 128,
TOTAL_DURATION = 128
};
explicit Comparator();
@ -389,7 +389,7 @@ class ThreadData {
enum Status {
UNINITIALIZED,
ACTIVE,
SHUTDOWN,
SHUTDOWN
};
// A class used to count down which is accessed by several threads. This is

View File

@ -24,7 +24,7 @@ enum WinVersion {
WINVERSION_SERVER_2003 = 3,
WINVERSION_VISTA = 4,
WINVERSION_2008 = 5,
WINVERSION_WIN7 = 6,
WINVERSION_WIN7 = 6
};
void GetNonClientMetrics(NONCLIENTMETRICS* metrics);

View File

@ -17,7 +17,7 @@ class ChildProcessInfo {
RENDER_PROCESS,
PLUGIN_PROCESS,
WORKER_PROCESS,
UNKNOWN_PROCESS,
UNKNOWN_PROCESS
};
// Returns the type of the process.

View File

@ -263,7 +263,7 @@ class Message : public Pickle {
UNBLOCK_BIT = 0x0020,
PUMPING_MSGS_BIT= 0x0040,
HAS_SENT_TIME_BIT = 0x0080,
RPC_BIT = 0x0100,
RPC_BIT = 0x0100
};
#pragma pack(push, 2)
@ -328,7 +328,7 @@ enum SpecialRoutingIDs {
MSG_ROUTING_NONE = kint32min,
// indicates a general message not sent to a particular tab.
MSG_ROUTING_CONTROL = kint32max,
MSG_ROUTING_CONTROL = kint32max
};
#define IPC_REPLY_ID 0xFFF0 // Special message id for replies

View File

@ -61,7 +61,7 @@ struct HasResultCodes
MsgPayloadError,
MsgProcessingError,
MsgRouteError,
MsgValueError,
MsgValueError
};
};

View File

@ -65,7 +65,7 @@ enum {
UNBLOCK_CHILD_MESSAGE_TYPE = kuint16max - 4,
BLOCK_CHILD_MESSAGE_TYPE = kuint16max - 3,
SHMEM_CREATED_MESSAGE_TYPE = kuint16max - 2,
GOODBYE_MESSAGE_TYPE = kuint16max - 1,
GOODBYE_MESSAGE_TYPE = kuint16max - 1
};
}