| OLD | NEW | 
|---|
|  | (Empty) | 
| 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 |  | 
| 3 // found in the LICENSE file. |  | 
| 4 |  | 
| 5 #include "apps/shell/browser/shell_special_storage_policy.h" |  | 
| 6 |  | 
| 7 namespace apps { |  | 
| 8 |  | 
| 9 ShellSpecialStoragePolicy::ShellSpecialStoragePolicy() { |  | 
| 10 } |  | 
| 11 |  | 
| 12 ShellSpecialStoragePolicy::~ShellSpecialStoragePolicy() { |  | 
| 13 } |  | 
| 14 |  | 
| 15 bool ShellSpecialStoragePolicy::IsStorageProtected(const GURL& origin) { |  | 
| 16   return true; |  | 
| 17 } |  | 
| 18 |  | 
| 19 bool ShellSpecialStoragePolicy::IsStorageUnlimited(const GURL& origin) { |  | 
| 20   return true; |  | 
| 21 } |  | 
| 22 |  | 
| 23 bool ShellSpecialStoragePolicy::IsStorageSessionOnly(const GURL& origin) { |  | 
| 24   return false; |  | 
| 25 } |  | 
| 26 |  | 
| 27 bool ShellSpecialStoragePolicy::CanQueryDiskSize(const GURL& origin) { |  | 
| 28   return true; |  | 
| 29 } |  | 
| 30 |  | 
| 31 bool ShellSpecialStoragePolicy::HasSessionOnlyOrigins() { |  | 
| 32   return false; |  | 
| 33 } |  | 
| 34 |  | 
| 35 bool ShellSpecialStoragePolicy::IsFileHandler(const std::string& extension_id) { |  | 
| 36   return true; |  | 
| 37 } |  | 
| 38 |  | 
| 39 bool ShellSpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) { |  | 
| 40   return false; |  | 
| 41 } |  | 
| 42 |  | 
| 43 }  // namespace apps |  | 
| OLD | NEW | 
|---|