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

Unified Diff: net/base/sdch_manager.h

Issue 6347033: net: Add namespace net to Sdch* classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: net/base/sdch_manager.h
diff --git a/net/base/sdch_manager.h b/net/base/sdch_manager.h
index d53be00a2144f62bb03fb6892d9f7b8696b94d9e..6936f4b6f43dff5cbeaa8a71d0b5400ef38b13d1 100644
--- a/net/base/sdch_manager.h
+++ b/net/base/sdch_manager.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -31,6 +31,8 @@
#include "base/time.h"
#include "googleurl/src/gurl.h"
+namespace net {
+
//------------------------------------------------------------------------------
// Create a public interface to help us load SDCH dictionaries.
// The SdchManager class allows registration to support this interface.
@@ -49,6 +51,7 @@ class SdchFetcher {
private:
DISALLOW_COPY_AND_ASSIGN(SdchFetcher);
};
+
//------------------------------------------------------------------------------
class SdchManager {
@@ -165,7 +168,7 @@ class SdchManager {
private:
friend class base::RefCounted<Dictionary>;
- friend class SdchManager; // Only manager can construct an instance.
+ friend class net::SdchManager; // Only manager can construct an instance.
willchan no longer on Chromium 2011/01/31 07:02:43 Try removing this net::. The error is because the
tfarina 2011/01/31 12:40:21 Done.
FRIEND_TEST_ALL_PREFIXES(SdchFilterTest, PathMatch);
// Construct a vc-diff usable dictionary from the dictionary_text starting
@@ -365,4 +368,6 @@ class SdchManager {
DISALLOW_COPY_AND_ASSIGN(SdchManager);
};
+} // namespace net
+
#endif // NET_BASE_SDCH_MANAGER_H_

Powered by Google App Engine
This is Rietveld 408576698