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

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: namespace on unittest 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..a07ab9dcd500383c6d979da86a8e64db666723a4 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 {
@@ -171,10 +174,14 @@ class SdchManager {
// Construct a vc-diff usable dictionary from the dictionary_text starting
// at the given offset. The supplied client_hash should be used to
// advertise the dictionary's availability relative to the suppplied URL.
- Dictionary(const std::string& dictionary_text, size_t offset,
- const std::string& client_hash, const GURL& url,
- const std::string& domain, const std::string& path,
- const base::Time& expiration, const std::set<int> ports);
+ Dictionary(const std::string& dictionary_text,
+ size_t offset,
+ const std::string& client_hash,
+ const GURL& url,
+ const std::string& domain,
+ const std::string& path,
+ const base::Time& expiration,
+ const std::set<int>& ports);
~Dictionary();
const GURL& url() const { return url_; }
@@ -365,4 +372,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