title: What is partition attribute for webview tag in Chrome App API?
body: <p>I'm developing a Google Chrome packaged app right now.</p>
  
  <p>I'm going to use webview tag to embed webpages for this app that I'm working on.</p>
  
  <p>And I was reading this document below that describe webview tag.</p>
  
  <p><a href="https://developer.chrome.com/apps/tags/webview" rel="nofollow">https://developer.chrome.com/apps/tags/webview</a></p>
  
  <p>But, I didn't quite understand what this is for.</p>
  
  <p>Could anyone please explain what partition attribute is for?</p>
  
  <p>Thanks!</p>
  
  <pre><code>&lt;webview id="foo" src="http://www.google.com/" style="width:640px; height:480px" partition="persist:googlepluswidgets"&gt;&lt;/webview&gt;
  </code></pre>
  
  <blockquote>
    <p>Storage partition ID used by the webview tag. If the storage partition
    ID starts with persist: (partition="persist:googlepluswidgets"), the
    webview will use a persistent storage partition available to all
    guests in the app with the same storage partition ID. If the ID is
    unset or if there is no 'persist': prefix, the webview will use an
    in-memory storage partition. This value can only be modified before
    the first navigation, since the storage partition of an active
    renderer process cannot change. Subsequent attempts to modify the
    value will fail with a DOM exception. By assigning the same partition
    ID, multiple webviews can share the same storage partition.</p>
  </blockquote>