Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: chrome/browser/browsing_data/browsing_data_helper.cc

Issue 10805015: Move browsing_data_helper files into a separate directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix chrome_frame build Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/browsing_data_helper.h" 5 #include "chrome/browser/browsing_data/browsing_data_helper.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/extensions/extension_special_storage_policy.h" 9 #include "chrome/browser/extensions/extension_special_storage_policy.h"
10 #include "chrome/common/chrome_switches.h" 10 #include "chrome/common/chrome_switches.h"
11 #include "chrome/common/url_constants.h" 11 #include "chrome/common/url_constants.h"
12 #include "content/public/browser/child_process_security_policy.h" 12 #include "content/public/browser/child_process_security_policy.h"
13 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
15 15
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 return true; 72 return true;
73 73
74 // Hosted applications (protected and websafe origins) iff PROTECTED_WEB. 74 // Hosted applications (protected and websafe origins) iff PROTECTED_WEB.
75 if (policy->IsStorageProtected(origin.GetOrigin()) && 75 if (policy->IsStorageProtected(origin.GetOrigin()) &&
76 BrowsingDataHelper::HasWebScheme(origin.GetOrigin()) && 76 BrowsingDataHelper::HasWebScheme(origin.GetOrigin()) &&
77 origin_set_mask & PROTECTED_WEB) 77 origin_set_mask & PROTECTED_WEB)
78 return true; 78 return true;
79 79
80 return false; 80 return false;
81 } 81 }
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_helper.h ('k') | chrome/browser/browsing_data/browsing_data_helper_browsertest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698