| Index: ui/gfx/vector_icons/vector_icons.cc.template | 
| diff --git a/ui/gfx/vector_icons/vector_icons.cc.template b/ui/gfx/vector_icons/vector_icons.cc.template | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..9c8d3e22d5a8a776272eabb701dede797fab28ac | 
| --- /dev/null | 
| +++ b/ui/gfx/vector_icons/vector_icons.cc.template | 
| @@ -0,0 +1,34 @@ | 
| +// Copyright 2015 The Chromium Authors. All rights reserved. | 
| +// Use of this source code is governed by a BSD-style license that can be | 
| +// found in the LICENSE file. | 
| + | 
| +// vector_icons.cc.template is used to generate vector_icons.cc. Edit the former | 
| +// rather than the latter. | 
| + | 
| +#include "ui/gfx/vector_icons.h" | 
| + | 
| +#include "base/logging.h" | 
| +#include "ui/gfx/vector_icons_public.h" | 
| + | 
| +#define ICON_TEMPLATE(icon_name, ...) \ | 
| +    case VectorIconId::icon_name: {\ | 
| +      static PathElement path[] = {__VA_ARGS__};\ | 
| +      return path;\ | 
| +    } | 
| + | 
| +namespace gfx { | 
| + | 
| +const PathElement* GetPathForVectorIcon(VectorIconId id) { | 
| +  switch (id) { | 
| +    case VectorIconId::VECTOR_ICON_NONE: | 
| +      NOTREACHED(); | 
| +      return nullptr; | 
| + | 
| +TEMPLATE_PLACEHOLDER | 
| +  } | 
| + | 
| +  NOTREACHED(); | 
| +  return nullptr; | 
| +} | 
| + | 
| +}  // namespace gfx | 
|  |