| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/public/common/manifest.h" | 5 #include "content/public/common/manifest.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 // We need to provide a value here which is out of the range of a 32-bit integer | 9 // We need to provide a value here which is out of the range of a 32-bit integer |
| 10 // since otherwise we would not be able to check whether a theme color was valid | 10 // since otherwise we would not be able to check whether a theme color was valid |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 return name.is_null() && | 44 return name.is_null() && |
| 45 short_name.is_null() && | 45 short_name.is_null() && |
| 46 start_url.is_empty() && | 46 start_url.is_empty() && |
| 47 display == blink::WebDisplayModeUndefined && | 47 display == blink::WebDisplayModeUndefined && |
| 48 orientation == blink::WebScreenOrientationLockDefault && | 48 orientation == blink::WebScreenOrientationLockDefault && |
| 49 icons.empty() && | 49 icons.empty() && |
| 50 related_applications.empty() && | 50 related_applications.empty() && |
| 51 !prefer_related_applications && | 51 !prefer_related_applications && |
| 52 theme_color == Manifest::kInvalidOrMissingColor && | 52 theme_color == Manifest::kInvalidOrMissingColor && |
| 53 background_color == Manifest::kInvalidOrMissingColor && | 53 background_color == Manifest::kInvalidOrMissingColor && |
| 54 gcm_sender_id.is_null(); | 54 gcm_sender_id.is_null() && |
| 55 scope.is_empty(); |
| 55 } | 56 } |
| 56 | 57 |
| 57 } // namespace content | 58 } // namespace content |
| OLD | NEW |