mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Make CEF compliant with Google/Chromium style (issue #473).
- Add a new check_style tool based on Google's cpplint that can be used to verify compliance of pending changes and specific files/directories. - Update existing CEF source code to be compliant with the style requirements. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@463 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -53,8 +53,8 @@
|
||||
// DispatchToMethod(&foo, &Foo::SomeMeth, MakeTuple(1, 2, 3));
|
||||
// // foo->SomeMeth(1, 2, 3);
|
||||
|
||||
#ifndef BASE_TUPLE_H__
|
||||
#define BASE_TUPLE_H__
|
||||
#ifndef CEF_INCLUDE_INTERNAL_CEF_TUPLE_H_
|
||||
#define CEF_INCLUDE_INTERNAL_CEF_TUPLE_H_
|
||||
#pragma once
|
||||
|
||||
#if defined(OS_CHROMEOS)
|
||||
@ -144,7 +144,7 @@ struct Tuple3 {
|
||||
Tuple3(typename TupleTraits<A>::ParamType a,
|
||||
typename TupleTraits<B>::ParamType b,
|
||||
typename TupleTraits<C>::ParamType c)
|
||||
: a(a), b(b), c(c){
|
||||
: a(a), b(b), c(c) {
|
||||
}
|
||||
|
||||
A a;
|
||||
@ -575,7 +575,6 @@ inline void DispatchToMethod(ObjT* obj, Method method, const A& arg) {
|
||||
|
||||
template <class ObjT, class Method, class A>
|
||||
inline void DispatchToMethod(ObjT* obj, Method method, const Tuple1<A>& arg) {
|
||||
|
||||
#if defined(OS_CHROMEOS)
|
||||
// To troubleshoot crosbug.com/7327.
|
||||
CHECK(obj);
|
||||
@ -1080,4 +1079,4 @@ inline void DispatchToMethod(ObjT* obj, Method method,
|
||||
&out->a, &out->b, &out->c, &out->d, &out->e);
|
||||
}
|
||||
|
||||
#endif // BASE_TUPLE_H__
|
||||
#endif // CEF_INCLUDE_INTERNAL_CEF_TUPLE_H_
|
||||
|
Reference in New Issue
Block a user