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

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

Issue 16742003: Use a direct include of strings headers in chrome/browser/a*-c*/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/browsing_data_helper.h" 5 #include "chrome/browser/browsing_data/browsing_data_helper.h"
6 6
7 #include "base/stringprintf.h" 7 #include "base/strings/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 "extensions/common/constants.h" 11 #include "extensions/common/constants.h"
12 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 #include "third_party/WebKit/public/platform/WebString.h" 14 #include "third_party/WebKit/public/platform/WebString.h"
15 15
16 namespace { 16 namespace {
17 17
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 EXPECT_TRUE(Match( 155 EXPECT_TRUE(Match(
156 kOrigin2, kUnprotected | kProtected | kExtension, mock_policy.get())); 156 kOrigin2, kUnprotected | kProtected | kExtension, mock_policy.get()));
157 EXPECT_TRUE(Match( 157 EXPECT_TRUE(Match(
158 kOriginExt, kUnprotected | kProtected | kExtension, mock_policy.get())); 158 kOriginExt, kUnprotected | kProtected | kExtension, mock_policy.get()));
159 EXPECT_FALSE(Match(kOriginDevTools, 159 EXPECT_FALSE(Match(kOriginDevTools,
160 kUnprotected | kProtected | kExtension, 160 kUnprotected | kProtected | kExtension,
161 mock_policy.get())); 161 mock_policy.get()));
162 } 162 }
163 163
164 } // namespace 164 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698