| Index: net/base/mock_host_resolver.h
|
| ===================================================================
|
| --- net/base/mock_host_resolver.h (revision 35740)
|
| +++ net/base/mock_host_resolver.h (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -166,10 +166,12 @@
|
| base::WaitableEvent event_;
|
| };
|
|
|
| -// This class sets the HostResolverProc for a particular scope. If there are
|
| -// multiple ScopedDefaultHostResolverProc in existence, then the last one
|
| -// allocated will be used. However, if it does not provide a matching rule,
|
| -// then it should delegate to the previously set HostResolverProc.
|
| +// This class sets the default HostResolverProc for a particular scope. The
|
| +// chain of resolver procs starting at |proc| is placed in front of any existing
|
| +// default resolver proc(s). This means that if multiple
|
| +// ScopedDefaultHostResolverProcs are declared, then resolving will start with
|
| +// the procs given to the last-allocated one, then fall back to the procs given
|
| +// to the previously-allocated one, and so forth.
|
| //
|
| // NOTE: Only use this as a catch-all safety net. Individual tests should use
|
| // MockHostResolver.
|
|
|