diff options
author | grv@chromium.org <grv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-24 03:38:03 +0000 |
---|---|---|
committer | grv@chromium.org <grv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-24 03:38:03 +0000 |
commit | c80ef51b451c91ae2f037b090dbec7a0d050c56f (patch) | |
tree | c3ddfe404e424a7476a9d3b6bef633797ce2de2b /chrome/common/web_apps.h | |
parent | 762451ad8d8ab9a83bb06667b9855f4e8b280e70 (diff) | |
download | chromium_src-c80ef51b451c91ae2f037b090dbec7a0d050c56f.zip chromium_src-c80ef51b451c91ae2f037b090dbec7a0d050c56f.tar.gz chromium_src-c80ef51b451c91ae2f037b090dbec7a0d050c56f.tar.bz2 |
Add offline_mode support in crx-less apps
Added a key in the manifest file "offline_enabled", for crx-less apps to support offline_mode.
BUG=101782
TEST=unit_test
Review URL: https://chromiumcodereview.appspot.com/10704092
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148039 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/web_apps.h')
-rw-r--r-- | chrome/common/web_apps.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/common/web_apps.h b/chrome/common/web_apps.h index e0526b6..b3ea039 100644 --- a/chrome/common/web_apps.h +++ b/chrome/common/web_apps.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. @@ -74,6 +74,9 @@ struct WebApplicationInfo { // The type of launch container to use with the app. Currently supported // values are 'tab' and 'panel'. Only supported with manifest-based apps. std::string launch_container; + + // This indicates if the app is functional in offline mode or not. + bool is_offline_enabled; }; |