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

Side by Side Diff: blimp/client/feature/navigation_feature.cc

Issue 1636163002: Restructure contents of blimp/client. (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 #include "blimp/client/session/navigation_feature.h" 5 #include "blimp/client/feature/navigation_feature.h"
6
7 #include <map>
8 #include <string>
6 9
7 #include "blimp/common/create_blimp_message.h" 10 #include "blimp/common/create_blimp_message.h"
8 #include "blimp/common/proto/blimp_message.pb.h" 11 #include "blimp/common/proto/blimp_message.pb.h"
9 #include "blimp/common/proto/navigation.pb.h" 12 #include "blimp/common/proto/navigation.pb.h"
10 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
11 #include "url/gurl.h" 14 #include "url/gurl.h"
12 15
13 namespace blimp { 16 namespace blimp {
14 namespace client { 17 namespace client {
15 18
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 NavigationFeature::NavigationFeatureDelegate* NavigationFeature::FindDelegate( 123 NavigationFeature::NavigationFeatureDelegate* NavigationFeature::FindDelegate(
121 const int tab_id) { 124 const int tab_id) {
122 DelegateMap::const_iterator it = delegates_.find(tab_id); 125 DelegateMap::const_iterator it = delegates_.find(tab_id);
123 if (it != delegates_.end()) 126 if (it != delegates_.end())
124 return it->second; 127 return it->second;
125 return nullptr; 128 return nullptr;
126 } 129 }
127 130
128 } // namespace client 131 } // namespace client
129 } // namespace blimp 132 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/client/feature/navigation_feature.h ('k') | blimp/client/feature/navigation_feature_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698