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

Side by Side Diff: content/browser/devtools/protocol/page_handler.h

Issue 1867523002: Rename ignore_cache and ignoreCache to bypass* unless it affects API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 void OnSwapCompositorFrame(const cc::CompositorFrameMetadata& frame_metadata); 42 void OnSwapCompositorFrame(const cc::CompositorFrameMetadata& frame_metadata);
43 void OnSynchronousSwapCompositorFrame(const cc::CompositorFrameMetadata& 43 void OnSynchronousSwapCompositorFrame(const cc::CompositorFrameMetadata&
44 frame_metadata); 44 frame_metadata);
45 void DidAttachInterstitialPage(); 45 void DidAttachInterstitialPage();
46 void DidDetachInterstitialPage(); 46 void DidDetachInterstitialPage();
47 bool screencast_enabled() const { return enabled_ && screencast_enabled_; } 47 bool screencast_enabled() const { return enabled_ && screencast_enabled_; }
48 48
49 Response Enable(); 49 Response Enable();
50 Response Disable(); 50 Response Disable();
51 51
52 Response Reload(const bool* ignoreCache, 52 Response Reload(const bool* bypassCache,
53 const std::string* script_to_evaluate_on_load, 53 const std::string* script_to_evaluate_on_load,
54 const std::string* script_preprocessor = NULL); 54 const std::string* script_preprocessor = NULL);
55 55
56 Response Navigate(const std::string& url, FrameId* frame_id); 56 Response Navigate(const std::string& url, FrameId* frame_id);
57 57
58 using NavigationEntries = std::vector<scoped_refptr<NavigationEntry>>; 58 using NavigationEntries = std::vector<scoped_refptr<NavigationEntry>>;
59 Response GetNavigationHistory(int* current_index, 59 Response GetNavigationHistory(int* current_index,
60 NavigationEntries* entries); 60 NavigationEntries* entries);
61 61
62 Response NavigateToHistoryEntry(int entry_id); 62 Response NavigateToHistoryEntry(int entry_id);
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 base::WeakPtrFactory<PageHandler> weak_factory_; 126 base::WeakPtrFactory<PageHandler> weak_factory_;
127 127
128 DISALLOW_COPY_AND_ASSIGN(PageHandler); 128 DISALLOW_COPY_AND_ASSIGN(PageHandler);
129 }; 129 };
130 130
131 } // namespace page 131 } // namespace page
132 } // namespace devtools 132 } // namespace devtools
133 } // namespace content 133 } // namespace content
134 134
135 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_ 135 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_PAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/devtools/inspected_window.json ('k') | content/browser/devtools/protocol/page_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698