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

Side by Side Diff: components/sync/test/fake_server/sessions_hierarchy.cc

Issue 2387553002: [Sync] Removing duplicated includes between cc and h files. (Closed)
Patch Set: Fixing DataTypeStatusTable Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/sync/test/fake_server/sessions_hierarchy.h" 5 #include "components/sync/test/fake_server/sessions_hierarchy.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 #include <string>
9 8
10 namespace fake_server { 9 namespace fake_server {
11 10
12 SessionsHierarchy::SessionsHierarchy() {} 11 SessionsHierarchy::SessionsHierarchy() {}
13 12
14 SessionsHierarchy::~SessionsHierarchy() {} 13 SessionsHierarchy::~SessionsHierarchy() {}
15 14
16 void SessionsHierarchy::AddWindow(const std::string& tab) { 15 void SessionsHierarchy::AddWindow(const std::string& tab) {
17 SessionsHierarchy::Window window; 16 SessionsHierarchy::Window window;
18 window.insert(tab); 17 window.insert(tab);
(...skipping 24 matching lines...) Expand all
43 } 42 }
44 output << "}"; 43 output << "}";
45 return output.str(); 44 return output.str();
46 } 45 }
47 46
48 bool SessionsHierarchy::Equals(const SessionsHierarchy& other) const { 47 bool SessionsHierarchy::Equals(const SessionsHierarchy& other) const {
49 return windows_ == other.windows_; 48 return windows_ == other.windows_;
50 } 49 }
51 50
52 } // namespace fake_server 51 } // namespace fake_server
OLDNEW
« no previous file with comments | « components/sync/test/fake_server/permanent_entity.cc ('k') | components/sync/test/fake_server/tombstone_entity.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698