0

cc: Fix header include guards.

Fixed the files found by the following command lines:
$ cpplint.py cc/* 2>&1 | grep header_guard
$ cpplint.py cc/test/* 2>&1 | grep header_guard

BUG=144576,144577
TEST=cc_unittests
TBR=enne@chromium.org,jamesr@chromium.org


Review URL: https://chromiumcodereview.appspot.com/11365188

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167123 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
tfarina@chromium.org
2012-11-11 14:47:50 +00:00
parent e89cfcb909
commit ffaa2a6366
9 changed files with 35 additions and 29 deletions

@ -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 ImageLayerUpdater_h
#define ImageLayerUpdater_h
#ifndef CC_IMAGE_LAYER_UPDATER_H_
#define CC_IMAGE_LAYER_UPDATER_H_
#include "cc/layer_updater.h"
@ -43,6 +43,6 @@ private:
SkBitmap m_bitmap;
};
}
} // namespace cc
#endif
#endif // CC_IMAGE_LAYER_UPDATER_H_

@ -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 NinePatchLayer_h
#define NinePatchLayer_h
#ifndef CC_NINE_PATCH_LAYER_H_
#define CC_NINE_PATCH_LAYER_H_
#include "base/memory/scoped_ptr.h"
#include "cc/cc_export.h"
@ -50,6 +50,6 @@ private:
gfx::Rect m_imageAperture;
};
}
} // namespace cc
#endif
#endif // CC_NINE_PATCH_LAYER_H_

@ -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 NinePatchLayerImpl_h
#define NinePatchLayerImpl_h
#ifndef CC_NINE_PATCH_LAYER_IMPL_H_
#define CC_NINE_PATCH_LAYER_IMPL_H_
#include "cc/cc_export.h"
#include "cc/layer_impl.h"
@ -46,6 +46,6 @@ private:
ResourceProvider::ResourceId m_resourceId;
};
}
} // namespace cc
#endif
#endif // CC_NINE_PATCH_LAYER_IMPL_H_

@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CC_TEST_FAKE_CONTENT_LAYER_CLIENT_H_
#define CC_TEST_FAKE_CONTENT_LAYER_CLIENT_H_
#include "base/compiler_specific.h"
#include "cc/content_layer_client.h"
@ -20,3 +23,5 @@ private:
};
} // namespace WebKitTests
#endif // CC_TEST_FAKE_CONTENT_LAYER_CLIENT_H_

@ -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 FakeCCProxy_h
#define FakeCCProxy_h
#ifndef CC_TEST_FAKE_PROXY_H_
#define CC_TEST_FAKE_PROXY_H_
#include "cc/layer_tree_host.h"
#include "cc/proxy.h"
@ -43,6 +43,6 @@ private:
RendererCapabilities m_capabilities;
};
}
} // namespace cc
#endif
#endif // CC_TEST_FAKE_PROXY_H_

@ -92,6 +92,6 @@ class Tile : public base::RefCounted<Tile> {
ScopedVector<TileVersion> versions_;
};
} // namespace cc
#endif
#endif // CC_TILE_H_

@ -21,7 +21,7 @@ class TileManagerClient {
virtual void ScheduleManageTiles() = 0;
protected:
~TileManagerClient() { }
virtual ~TileManagerClient() {}
};
// This class manages tiles, deciding which should get rasterized and which
@ -53,6 +53,6 @@ class TileManager {
std::vector<TileVersion*> tile_versions_;
};
}
} // namespace cc
#endif
#endif // CC_TILE_MANAGER_H_

@ -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 CC_TILE_PRIORTY_H_
#define CC_TILE_PRIORTY_H_
#ifndef CC_TILE_PRIORITY_H_
#define CC_TILE_PRIORITY_H_
#include "base/memory/ref_counted.h"
#include "cc/picture_pile.h"
@ -46,7 +46,7 @@ enum TileMemoryLimitPolicy {
};
class GlobalStateThatImpactsTilePriority {
public:
public:
GlobalStateThatImpactsTilePriority()
: memory_limit_policy(ALLOW_NOTHING)
, memory_limit_in_bytes(0)
@ -70,7 +70,7 @@ public:
class TilePriorityComparator {
public:
TilePriorityComparator(GlobalStateThatImpactsTilePriority& global_state)
: global_state_(global_state) {}
: global_state_(global_state) {}
int compare(const TilePriority& a, const TilePriority& b) {
// TODO(nduca,enne): Implement a comparator using the attributes here.
@ -82,4 +82,5 @@ class TilePriorityComparator {
};
} // namespace cc
#endif
#endif // CC_TILE_PRIORITY_H_

@ -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 CC_TRANSERABLE_RESOURCE_H_
#define CC_TRANSERABLE_RESOURCE_H_
#ifndef CC_TRANSFERABLE_RESOURCE_H_
#define CC_TRANSFERABLE_RESOURCE_H_
#include <vector>
@ -44,4 +44,4 @@ struct CC_EXPORT TransferableResourceList :
} // namespace cc
#endif // CC_TRANSERABLE_RESOURCE_H_
#endif // CC_TRANSFERABLE_RESOURCE_H_