Chromium Code Reviews| Index: chrome/common/web_apps.cc |
| diff --git a/chrome/common/web_apps.cc b/chrome/common/web_apps.cc |
| index 8a2cdcca7802eb49bf5f68c5e072aed95ed985b2..a2d1d7ef97f52dc7463110d722a4bb2422a4b406 100644 |
| --- a/chrome/common/web_apps.cc |
| +++ b/chrome/common/web_apps.cc |
| @@ -103,6 +103,7 @@ const char WebApplicationInfo::kInvalidIconURL[] = |
| WebApplicationInfo::WebApplicationInfo() { |
| is_bookmark_app = false; |
| + is_offline_enabled = false; |
| } |
| WebApplicationInfo::~WebApplicationInfo() { |
| @@ -316,6 +317,9 @@ bool ParseWebAppFromDefinitionFile(Value* definition_value, |
| } |
| } |
| + // Parse if offline mode is enabled. |
|
Mihai Parparita -not on Chrome
2012/07/11 06:03:01
This comment is redundant, and should be removed.
|
| + definition->GetBoolean("offline_enabled", &web_app->is_offline_enabled); |
| + |
| CHECK(definition->GetString("name", &web_app->title)); |
| definition->GetString("description", &web_app->description); |
| definition->GetString("launch_container", &web_app->launch_container); |