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

Side by Side Diff: content/browser/frame_host/navigation_controller_impl.h

Issue 2046713002: Removing unused SetBrowserContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removing const from BrowserContext* const Created 4 years, 6 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
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_controller_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 24 matching lines...) Expand all
35 : public NON_EXPORTED_BASE(NavigationController) { 35 : public NON_EXPORTED_BASE(NavigationController) {
36 public: 36 public:
37 NavigationControllerImpl( 37 NavigationControllerImpl(
38 NavigationControllerDelegate* delegate, 38 NavigationControllerDelegate* delegate,
39 BrowserContext* browser_context); 39 BrowserContext* browser_context);
40 ~NavigationControllerImpl() override; 40 ~NavigationControllerImpl() override;
41 41
42 // NavigationController implementation: 42 // NavigationController implementation:
43 WebContents* GetWebContents() const override; 43 WebContents* GetWebContents() const override;
44 BrowserContext* GetBrowserContext() const override; 44 BrowserContext* GetBrowserContext() const override;
45 void SetBrowserContext(BrowserContext* browser_context) override;
46 void Restore(int selected_navigation, 45 void Restore(int selected_navigation,
47 RestoreType type, 46 RestoreType type,
48 std::vector<std::unique_ptr<NavigationEntry>>* entries) override; 47 std::vector<std::unique_ptr<NavigationEntry>>* entries) override;
49 NavigationEntryImpl* GetActiveEntry() const override; 48 NavigationEntryImpl* GetActiveEntry() const override;
50 NavigationEntryImpl* GetVisibleEntry() const override; 49 NavigationEntryImpl* GetVisibleEntry() const override;
51 int GetCurrentEntryIndex() const override; 50 int GetCurrentEntryIndex() const override;
52 NavigationEntryImpl* GetLastCommittedEntry() const override; 51 NavigationEntryImpl* GetLastCommittedEntry() const override;
53 int GetLastCommittedEntryIndex() const override; 52 int GetLastCommittedEntryIndex() const override;
54 bool CanViewSource() const override; 53 bool CanViewSource() const override;
55 int GetEntryCount() const override; 54 int GetEntryCount() const override;
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 TimeSmoother time_smoother_; 448 TimeSmoother time_smoother_;
450 449
451 std::unique_ptr<NavigationEntryScreenshotManager> screenshot_manager_; 450 std::unique_ptr<NavigationEntryScreenshotManager> screenshot_manager_;
452 451
453 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); 452 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl);
454 }; 453 };
455 454
456 } // namespace content 455 } // namespace content
457 456
458 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ 457 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698