Chromium Code Reviews| Index: components/physical_web/webui/physical_web_ui_constants.h |
| diff --git a/components/physical_web/webui/physical_web_ui_constants.h b/components/physical_web/webui/physical_web_ui_constants.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..da049d5a670ad3f0e898ede46c04a8ce638aef9f |
| --- /dev/null |
| +++ b/components/physical_web/webui/physical_web_ui_constants.h |
| @@ -0,0 +1,33 @@ |
| +// Copyright 2016 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. |
| + |
| +#ifndef COMPONENTS_PHYSICAL_WEB_WEBUI_PHYSICAL_WEB_UI_CONSTANTS_H_ |
| +#define COMPONENTS_PHYSICAL_WEB_WEBUI_PHYSICAL_WEB_UI_CONSTANTS_H_ |
| + |
| +namespace physical_web_ui { |
| + |
| +// Resource paths. |
| +// Must match the resource file names. |
| +extern const char kPhysicalWebJS[]; |
| +extern const char kPhysicalWebCSS[]; |
| + |
| +// Message handlers. |
| +// Must match the constants used in the resource files. |
| +extern const char kRequestNearbyURLs[]; |
| + |
| +// Strings. |
| +// Must match the constants used in the resource files. |
| +extern const char kTitle[]; |
| +extern const char kPageInfo[]; |
| +extern const char kPageInfoDescription[]; |
| +extern const char kPageInfoIcon[]; |
| +extern const char kPageInfoTitle[]; |
| +extern const char kResolvedUrl[]; |
| +extern const char kScannedUrl[]; |
| +extern const char kReturnNearbyURLs[]; |
|
Jackie Quinn
2016/08/30 22:37:24
Nit: Is there a reason why URL is all caps here (a
mattreynolds
2016/08/30 23:33:23
Done.
|
| +extern const char kMetadata[]; |
| + |
| +} // namespace physical_web_ui |
| + |
| +#endif // COMPONENTS_PHYSICAL_WEB_WEBUI_PHYSICAL_WEB_UI_CONSTANTS_H_ |