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

Side by Side Diff: components/sync_sessions/revisit/offset_tab_matcher.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 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 #ifndef COMPONENTS_SYNC_SESSIONS_REVISIT_OFFSET_TAB_MATCHER_H_ 5 #ifndef COMPONENTS_SYNC_SESSIONS_REVISIT_OFFSET_TAB_MATCHER_H_
6 #define COMPONENTS_SYNC_SESSIONS_REVISIT_OFFSET_TAB_MATCHER_H_ 6 #define COMPONENTS_SYNC_SESSIONS_REVISIT_OFFSET_TAB_MATCHER_H_
7 7
8 #include "base/macros.h"
8 #include "components/sync_sessions/revisit/page_equality.h" 9 #include "components/sync_sessions/revisit/page_equality.h"
9 #include "components/sync_sessions/revisit/page_visit_observer.h" 10 #include "components/sync_sessions/revisit/page_visit_observer.h"
10 11
11 namespace sessions { 12 namespace sessions {
12 struct SessionTab; 13 struct SessionTab;
13 }; // namespace sessions 14 }; // namespace sessions
14 15
15 namespace sync_sessions { 16 namespace sync_sessions {
16 17
17 // This class looks for tabs that have matching pages that are not the current 18 // This class looks for tabs that have matching pages that are not the current
(...skipping 16 matching lines...) Expand all
34 const sessions::SessionTab* best_tab_ = nullptr; 35 const sessions::SessionTab* best_tab_ = nullptr;
35 // Invalid while best_tab_ is nullptr. 36 // Invalid while best_tab_ is nullptr.
36 int best_offset_ = 0; 37 int best_offset_ = 0;
37 38
38 DISALLOW_COPY_AND_ASSIGN(OffsetTabMatcher); 39 DISALLOW_COPY_AND_ASSIGN(OffsetTabMatcher);
39 }; 40 };
40 41
41 } // namespace sync_sessions 42 } // namespace sync_sessions
42 43
43 #endif // COMPONENTS_SYNC_SESSIONS_REVISIT_OFFSET_TAB_MATCHER_H_ 44 #endif // COMPONENTS_SYNC_SESSIONS_REVISIT_OFFSET_TAB_MATCHER_H_
OLDNEW
« no previous file with comments | « components/sync_sessions/revisit/current_tab_matcher.h ('k') | components/sync_sessions/revisit/offset_tab_matcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698