| Index: net/cookies/cookie_monster_unittest.cc
|
| diff --git a/net/cookies/cookie_monster_unittest.cc b/net/cookies/cookie_monster_unittest.cc
|
| index 633bca59493b4fff654e8b875cbf1e22446d4e3a..d5067ae7cfbaeebdee34280e71141a805c122ec4 100644
|
| --- a/net/cookies/cookie_monster_unittest.cc
|
| +++ b/net/cookies/cookie_monster_unittest.cc
|
| @@ -61,12 +61,12 @@ class NewMockPersistentCookieStore
|
| virtual ~NewMockPersistentCookieStore() {}
|
| };
|
|
|
| -const char* kTopLevelDomainPlus1 = "http://www.harvard.edu";
|
| -const char* kTopLevelDomainPlus2 = "http://www.math.harvard.edu";
|
| -const char* kTopLevelDomainPlus2Secure = "https://www.math.harvard.edu";
|
| -const char* kTopLevelDomainPlus3 =
|
| +const char kTopLevelDomainPlus1[] = "http://www.harvard.edu";
|
| +const char kTopLevelDomainPlus2[] = "http://www.math.harvard.edu";
|
| +const char kTopLevelDomainPlus2Secure[] = "https://www.math.harvard.edu";
|
| +const char kTopLevelDomainPlus3[] =
|
| "http://www.bourbaki.math.harvard.edu";
|
| -const char* kOtherDomain = "http://www.mit.edu";
|
| +const char kOtherDomain[] = "http://www.mit.edu";
|
| const char kUrlGoogleSpecific[] = "http://www.gmail.google.izzle";
|
|
|
| class GetCookieListCallback : public CookieCallback {
|
| @@ -1252,7 +1252,7 @@ TEST_F(CookieMonsterTest, SetCookieableSchemes) {
|
| scoped_refptr<CookieMonster> cm_foo(new CookieMonster(NULL, NULL));
|
|
|
| // Only cm_foo should allow foo:// cookies.
|
| - const char* kSchemes[] = {"foo"};
|
| + const char* const kSchemes[] = {"foo"};
|
| cm_foo->SetCookieableSchemes(kSchemes, 1);
|
|
|
| GURL foo_url("foo://host/path");
|
|
|