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

Side by Side Diff: chrome/browser/devtools/devtools_window.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/devtools/devtools_window.h" 5 #include "chrome/browser/devtools/devtools_window.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/json/json_reader.h" 10 #include "base/json/json_reader.h"
11 #include "base/macros.h"
11 #include "base/metrics/histogram.h" 12 #include "base/metrics/histogram.h"
12 #include "base/prefs/scoped_user_pref_update.h" 13 #include "base/prefs/scoped_user_pref_update.h"
13 #include "base/time/time.h" 14 #include "base/time/time.h"
14 #include "base/values.h" 15 #include "base/values.h"
15 #include "chrome/browser/certificate_viewer.h" 16 #include "chrome/browser/certificate_viewer.h"
16 #include "chrome/browser/file_select_helper.h" 17 #include "chrome/browser/file_select_helper.h"
17 #include "chrome/browser/infobars/infobar_service.h" 18 #include "chrome/browser/infobars/infobar_service.h"
18 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
19 #include "chrome/browser/sessions/session_tab_helper.h" 20 #include "chrome/browser/sessions/session_tab_helper.h"
20 #include "chrome/browser/task_management/web_contents_tags.h" 21 #include "chrome/browser/task_management/web_contents_tags.h"
(...skipping 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after
1281 bool DevToolsWindow::ReloadInspectedWebContents(bool ignore_cache) { 1282 bool DevToolsWindow::ReloadInspectedWebContents(bool ignore_cache) {
1282 // Only route reload via front-end if the agent is attached. 1283 // Only route reload via front-end if the agent is attached.
1283 WebContents* wc = GetInspectedWebContents(); 1284 WebContents* wc = GetInspectedWebContents();
1284 if (!wc || wc->GetCrashedStatus() != base::TERMINATION_STATUS_STILL_RUNNING) 1285 if (!wc || wc->GetCrashedStatus() != base::TERMINATION_STATUS_STILL_RUNNING)
1285 return false; 1286 return false;
1286 base::FundamentalValue ignore_cache_value(ignore_cache); 1287 base::FundamentalValue ignore_cache_value(ignore_cache);
1287 bindings_->CallClientFunction("DevToolsAPI.reloadInspectedPage", 1288 bindings_->CallClientFunction("DevToolsAPI.reloadInspectedPage",
1288 &ignore_cache_value, nullptr, nullptr); 1289 &ignore_cache_value, nullptr, nullptr);
1289 return true; 1290 return true;
1290 } 1291 }
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_window.h ('k') | chrome/browser/devtools/devtools_window_testing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698