summaryrefslogtreecommitdiff
path: root/connection_info_reader.h
diff options
context:
space:
mode:
authorPaul Stewart <pstew@chromium.org>2015-06-16 13:13:10 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-18 08:08:09 +0000
commita794cd60a7339d576ea2eed263a4f0a20fb255af (patch)
treeca317904a41fbff94b46d40933daca2208ada713 /connection_info_reader.h
parent3b30ca58d13cf66b75ba0729b222ddc42ae68b33 (diff)
downloadshill-a794cd60a7339d576ea2eed263a4f0a20fb255af.tar.gz
shill: Top-level files a-e: Switch pointer/ref spacing
Switch to Chrome style spacing. BUG=chromium:501026 TEST=Unit tests Change-Id: Idb7252202e142098999fe0672712aded7d369259 Reviewed-on: https://chromium-review.googlesource.com/278038 Reviewed-by: Rebecca Silberstein <silberst@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
Diffstat (limited to 'connection_info_reader.h')
-rw-r--r--connection_info_reader.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/connection_info_reader.h b/connection_info_reader.h
index 52a6c6ac..447f7dc3 100644
--- a/connection_info_reader.h
+++ b/connection_info_reader.h
@@ -29,7 +29,7 @@ class ConnectionInfoReader {
// Loads IP connection tracking information from the file path returned by
// GetConnectionInfoFilePath(). Existing entries in |info_list| are always
// discarded. Returns true on success.
- virtual bool LoadConnectionInfo(std::vector<ConnectionInfo> *info_list);
+ virtual bool LoadConnectionInfo(std::vector<ConnectionInfo>* info_list);
private:
FRIEND_TEST(ConnectionInfoReaderTest, ParseConnectionInfo);
@@ -39,14 +39,14 @@ class ConnectionInfoReader {
FRIEND_TEST(ConnectionInfoReaderTest, ParseProtocol);
FRIEND_TEST(ConnectionInfoReaderTest, ParseTimeToExpireSeconds);
- bool ParseConnectionInfo(const std::string &input, ConnectionInfo *info);
- bool ParseProtocol(const std::string &input, int *protocol);
- bool ParseTimeToExpireSeconds(const std::string &input,
- int64_t *time_to_expire_seconds);
- bool ParseIsUnreplied(const std::string &input, bool *is_unreplied);
- bool ParseIPAddress(const std::string &input,
- IPAddress *ip_address, bool *is_source);
- bool ParsePort(const std::string &input, uint16_t *port, bool *is_source);
+ bool ParseConnectionInfo(const std::string& input, ConnectionInfo* info);
+ bool ParseProtocol(const std::string& input, int* protocol);
+ bool ParseTimeToExpireSeconds(const std::string& input,
+ int64_t* time_to_expire_seconds);
+ bool ParseIsUnreplied(const std::string& input, bool* is_unreplied);
+ bool ParseIPAddress(const std::string& input,
+ IPAddress* ip_address, bool* is_source);
+ bool ParsePort(const std::string& input, uint16_t* port, bool* is_source);
DISALLOW_COPY_AND_ASSIGN(ConnectionInfoReader);
};