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

Side by Side Diff: content/renderer/dom_storage/dom_storage_cached_area.cc

Issue 2303653005: Migrate content/ files to histogram_macros.h includes. (Closed)
Patch Set: Created 4 years, 3 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 "content/renderer/dom_storage/dom_storage_cached_area.h" 5 #include "content/renderer/dom_storage/dom_storage_cached_area.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram_macros.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
11 #include "content/common/dom_storage/dom_storage_map.h" 11 #include "content/common/dom_storage/dom_storage_map.h"
12 #include "content/renderer/dom_storage/dom_storage_proxy.h" 12 #include "content/renderer/dom_storage/dom_storage_proxy.h"
13 13
14 namespace content { 14 namespace content {
15 15
16 DOMStorageCachedArea::DOMStorageCachedArea(int64_t namespace_id, 16 DOMStorageCachedArea::DOMStorageCachedArea(int64_t namespace_id,
17 const GURL& origin, 17 const GURL& origin,
18 DOMStorageProxy* proxy) 18 DOMStorageProxy* proxy)
19 : ignore_all_mutations_(false), 19 : ignore_all_mutations_(false),
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 ignore_key_mutations_.erase(found); 223 ignore_key_mutations_.erase(found);
224 } 224 }
225 225
226 void DOMStorageCachedArea::OnClearComplete(bool success) { 226 void DOMStorageCachedArea::OnClearComplete(bool success) {
227 DCHECK(success); 227 DCHECK(success);
228 DCHECK(ignore_all_mutations_); 228 DCHECK(ignore_all_mutations_);
229 ignore_all_mutations_ = false; 229 ignore_all_mutations_ = false;
230 } 230 }
231 231
232 } // namespace content 232 } // namespace content
OLDNEW
« no previous file with comments | « content/ppapi_plugin/ppapi_thread.cc ('k') | content/renderer/dom_storage/webstoragearea_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698