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

Side by Side Diff: blimp/client/core/contents/blimp_navigation_controller_impl.cc

Issue 2166563003: Split //blimp/client/core to relevant parts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-assignment-source
Patch Set: Created 4 years, 5 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/core/blimp_navigation_controller_impl.h" 5 #include "blimp/client/core/contents/blimp_navigation_controller_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/threading/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
11 #include "blimp/client/core/blimp_navigation_controller_delegate.h" 11 #include "blimp/client/core/contents/blimp_navigation_controller_delegate.h"
12 12
13 namespace blimp { 13 namespace blimp {
14 namespace client { 14 namespace client {
15 15
16 BlimpNavigationControllerImpl::BlimpNavigationControllerImpl( 16 BlimpNavigationControllerImpl::BlimpNavigationControllerImpl(
17 BlimpNavigationControllerDelegate* delegate) 17 BlimpNavigationControllerDelegate* delegate)
18 : delegate_(delegate), weak_ptr_factory_(this) {} 18 : delegate_(delegate), weak_ptr_factory_(this) {}
19 19
20 BlimpNavigationControllerImpl::~BlimpNavigationControllerImpl() = default; 20 BlimpNavigationControllerImpl::~BlimpNavigationControllerImpl() = default;
21 21
(...skipping 12 matching lines...) Expand all
34 const GURL& BlimpNavigationControllerImpl::GetURL() { 34 const GURL& BlimpNavigationControllerImpl::GetURL() {
35 return current_url_; 35 return current_url_;
36 } 36 }
37 37
38 void BlimpNavigationControllerImpl::NotifyDelegateURLLoaded(const GURL& url) { 38 void BlimpNavigationControllerImpl::NotifyDelegateURLLoaded(const GURL& url) {
39 delegate_->NotifyURLLoaded(url); 39 delegate_->NotifyURLLoaded(url);
40 } 40 }
41 41
42 } // namespace client 42 } // namespace client
43 } // namespace blimp 43 } // namespace blimp
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698