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

Side by Side Diff: third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 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 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 25 matching lines...) Expand all
36 #include "modules/indexeddb/IDBAny.h" 36 #include "modules/indexeddb/IDBAny.h"
37 #include "modules/indexeddb/IDBEventDispatcher.h" 37 #include "modules/indexeddb/IDBEventDispatcher.h"
38 #include "modules/indexeddb/IDBIndex.h" 38 #include "modules/indexeddb/IDBIndex.h"
39 #include "modules/indexeddb/IDBKeyPath.h" 39 #include "modules/indexeddb/IDBKeyPath.h"
40 #include "modules/indexeddb/IDBObserver.h" 40 #include "modules/indexeddb/IDBObserver.h"
41 #include "modules/indexeddb/IDBObserverChanges.h" 41 #include "modules/indexeddb/IDBObserverChanges.h"
42 #include "modules/indexeddb/IDBTracing.h" 42 #include "modules/indexeddb/IDBTracing.h"
43 #include "modules/indexeddb/IDBVersionChangeEvent.h" 43 #include "modules/indexeddb/IDBVersionChangeEvent.h"
44 #include "modules/indexeddb/WebIDBDatabaseCallbacksImpl.h" 44 #include "modules/indexeddb/WebIDBDatabaseCallbacksImpl.h"
45 #include "platform/Histogram.h" 45 #include "platform/Histogram.h"
46 #include "platform/wtf/Atomics.h"
46 #include "public/platform/modules/indexeddb/WebIDBKeyPath.h" 47 #include "public/platform/modules/indexeddb/WebIDBKeyPath.h"
47 #include "public/platform/modules/indexeddb/WebIDBTypes.h" 48 #include "public/platform/modules/indexeddb/WebIDBTypes.h"
48 #include "wtf/Atomics.h"
49 49
50 #include <limits> 50 #include <limits>
51 #include <memory> 51 #include <memory>
52 52
53 using blink::WebIDBDatabase; 53 using blink::WebIDBDatabase;
54 54
55 namespace blink { 55 namespace blink {
56 56
57 const char IDBDatabase::kCannotObserveVersionChangeTransaction[] = 57 const char IDBDatabase::kCannotObserveVersionChangeTransaction[] =
58 "An observer cannot target a version change transaction."; 58 "An observer cannot target a version change transaction.";
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 609
610 void IDBDatabase::RecordApiCallsHistogram(IndexedDatabaseMethods method) { 610 void IDBDatabase::RecordApiCallsHistogram(IndexedDatabaseMethods method) {
611 DEFINE_THREAD_SAFE_STATIC_LOCAL( 611 DEFINE_THREAD_SAFE_STATIC_LOCAL(
612 EnumerationHistogram, api_calls_histogram, 612 EnumerationHistogram, api_calls_histogram,
613 new EnumerationHistogram("WebCore.IndexedDB.FrontEndAPICalls", 613 new EnumerationHistogram("WebCore.IndexedDB.FrontEndAPICalls",
614 kIDBMethodsMax)); 614 kIDBMethodsMax));
615 api_calls_histogram.Count(method); 615 api_calls_histogram.Count(method);
616 } 616 }
617 617
618 } // namespace blink 618 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698