| OLD | NEW | 
|    1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2011 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 <string> |    5 #include <string> | 
|    6  |    6  | 
|    7 #include "base/strings/string16.h" |    7 #include "base/strings/string16.h" | 
|    8 #include "base/strings/string_util.h" |    8 #include "base/strings/string_util.h" | 
|    9 #include "base/strings/stringprintf.h" |    9 #include "base/strings/stringprintf.h" | 
|   10 #include "base/strings/utf_string_conversions.h" |   10 #include "base/strings/utf_string_conversions.h" | 
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   48                             std::string* auth_token) override { |   48                             std::string* auth_token) override { | 
|   49     *auth_token = "mock-credentials"; |   49     *auth_token = "mock-credentials"; | 
|   50     return OK; |   50     return OK; | 
|   51   } |   51   } | 
|   52  |   52  | 
|   53  |   53  | 
|   54  private: |   54  private: | 
|   55   ~MockAuthHandler() override {} |   55   ~MockAuthHandler() override {} | 
|   56 }; |   56 }; | 
|   57  |   57  | 
|   58 const char* kRealm1 = "Realm1"; |   58 const char kRealm1[] = "Realm1"; | 
|   59 const char* kRealm2 = "Realm2"; |   59 const char kRealm2[] = "Realm2"; | 
|   60 const char* kRealm3 = "Realm3"; |   60 const char kRealm3[] = "Realm3"; | 
|   61 const char* kRealm4 = "Realm4"; |   61 const char kRealm4[] = "Realm4"; | 
|   62 const char* kRealm5 = "Realm5"; |   62 const char kRealm5[] = "Realm5"; | 
|   63 const base::string16 k123(ASCIIToUTF16("123")); |   63 const base::string16 k123(ASCIIToUTF16("123")); | 
|   64 const base::string16 k1234(ASCIIToUTF16("1234")); |   64 const base::string16 k1234(ASCIIToUTF16("1234")); | 
|   65 const base::string16 kAdmin(ASCIIToUTF16("admin")); |   65 const base::string16 kAdmin(ASCIIToUTF16("admin")); | 
|   66 const base::string16 kAlice(ASCIIToUTF16("alice")); |   66 const base::string16 kAlice(ASCIIToUTF16("alice")); | 
|   67 const base::string16 kAlice2(ASCIIToUTF16("alice2")); |   67 const base::string16 kAlice2(ASCIIToUTF16("alice2")); | 
|   68 const base::string16 kPassword(ASCIIToUTF16("password")); |   68 const base::string16 kPassword(ASCIIToUTF16("password")); | 
|   69 const base::string16 kRoot(ASCIIToUTF16("root")); |   69 const base::string16 kRoot(ASCIIToUTF16("root")); | 
|   70 const base::string16 kUsername(ASCIIToUTF16("username")); |   70 const base::string16 kUsername(ASCIIToUTF16("username")); | 
|   71 const base::string16 kWileCoyote(ASCIIToUTF16("wilecoyote")); |   71 const base::string16 kWileCoyote(ASCIIToUTF16("wilecoyote")); | 
|   72  |   72  | 
| (...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  619     CheckPathExistence(0, i, false); |  619     CheckPathExistence(0, i, false); | 
|  620  |  620  | 
|  621   for (int i = 0; i < kMaxPaths; ++i) |  621   for (int i = 0; i < kMaxPaths; ++i) | 
|  622     CheckPathExistence(0, i + 3, true); |  622     CheckPathExistence(0, i + 3, true); | 
|  623  |  623  | 
|  624   for (int i = 0; i < kMaxRealms; ++i) |  624   for (int i = 0; i < kMaxRealms; ++i) | 
|  625     CheckRealmExistence(i, true); |  625     CheckRealmExistence(i, true); | 
|  626 } |  626 } | 
|  627  |  627  | 
|  628 }  // namespace net |  628 }  // namespace net | 
| OLD | NEW |