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

Side by Side Diff: chrome/browser/extensions/api/web_request/web_request_time_tracker.cc

Issue 9701039: Refactor folders in chrome/browser/extensions/api (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Small change to includes in extension_event_router.cc Created 8 years, 9 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/extensions/api/webrequest/webrequest_time_tracker.h" 5 #include "chrome/browser/extensions/api/web_request/web_request_time_tracker.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/extensions/extension_service.h" 11 #include "chrome/browser/extensions/extension_service.h"
12 #include "chrome/browser/extensions/extension_warning_set.h" 12 #include "chrome/browser/extensions/extension_warning_set.h"
13 #include "chrome/browser/profiles/profile_manager.h" 13 #include "chrome/browser/profiles/profile_manager.h"
14 14
15 using content::BrowserThread; 15 using content::BrowserThread;
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 // When a request is redirected, we have no way of knowing how long the 244 // When a request is redirected, we have no way of knowing how long the
245 // request would have taken, so we can't say how much an extension slowed 245 // request would have taken, so we can't say how much an extension slowed
246 // down this request. Just ignore it. 246 // down this request. Just ignore it.
247 request_time_logs_.erase(request_id); 247 request_time_logs_.erase(request_id);
248 } 248 }
249 249
250 void ExtensionWebRequestTimeTracker::SetDelegate( 250 void ExtensionWebRequestTimeTracker::SetDelegate(
251 ExtensionWebRequestTimeTrackerDelegate* delegate) { 251 ExtensionWebRequestTimeTrackerDelegate* delegate) {
252 delegate_.reset(delegate); 252 delegate_.reset(delegate);
253 } 253 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698