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

Side by Side Diff: chrome/browser/browsing_data/browsing_data_helper_unittest.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/stringprintf.h" 7 #include "base/stringprintf.h"
8 #include "chrome/browser/extensions/mock_extension_special_storage_policy.h" 8 #include "chrome/browser/extensions/mock_extension_special_storage_policy.h"
9 #include "chrome/common/url_constants.h" 9 #include "chrome/common/url_constants.h"
10 #include "content/public/common/url_constants.h" 10 #include "content/public/common/url_constants.h"
11 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
14 14
15 namespace { 15 namespace {
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 mock_policy)); 150 mock_policy));
151 EXPECT_TRUE(Match(kOrigin2, kUnprotected | kProtected | kExtension, 151 EXPECT_TRUE(Match(kOrigin2, kUnprotected | kProtected | kExtension,
152 mock_policy)); 152 mock_policy));
153 EXPECT_TRUE(Match(kOriginExt, kUnprotected | kProtected | kExtension, 153 EXPECT_TRUE(Match(kOriginExt, kUnprotected | kProtected | kExtension,
154 mock_policy)); 154 mock_policy));
155 EXPECT_FALSE(Match(kOriginDevTools, kUnprotected | kProtected | kExtension, 155 EXPECT_FALSE(Match(kOriginDevTools, kUnprotected | kProtected | kExtension,
156 mock_policy)); 156 mock_policy));
157 } 157 }
158 158
159 } // namespace 159 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698