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

Side by Side Diff: chrome/common/content_settings_helper_unittest.cc

Issue 6804032: Add TLS-SRP (RFC 5054) support Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: use system srp and mpi libs, not local copies Created 9 years, 8 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 // TODO(sqs): add httpsv?
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 4 // found in the LICENSE file.
4 5
5 #include "chrome/common/content_settings_helper.h" 6 #include "chrome/common/content_settings_helper.h"
6 7
7 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
8 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
9 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
10 11
(...skipping 27 matching lines...) Expand all
38 EXPECT_EQ(ASCIIToUTF16("https://www.foo.com"), 39 EXPECT_EQ(ASCIIToUTF16("https://www.foo.com"),
39 content_settings_helper::OriginToString16(kUrl4)); 40 content_settings_helper::OriginToString16(kUrl4));
40 EXPECT_EQ(ASCIIToUTF16("https://foo.com"), 41 EXPECT_EQ(ASCIIToUTF16("https://foo.com"),
41 content_settings_helper::OriginToString16(kUrl5)); 42 content_settings_helper::OriginToString16(kUrl5));
42 43
43 EXPECT_EQ(ASCIIToUTF16("https://www.foo.com:81"), 44 EXPECT_EQ(ASCIIToUTF16("https://www.foo.com:81"),
44 content_settings_helper::OriginToString16(kUrl6)); 45 content_settings_helper::OriginToString16(kUrl6));
45 EXPECT_EQ(ASCIIToUTF16("https://foo.com:81"), 46 EXPECT_EQ(ASCIIToUTF16("https://foo.com:81"),
46 content_settings_helper::OriginToString16(kUrl7)); 47 content_settings_helper::OriginToString16(kUrl7));
47 } 48 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698