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

Side by Side Diff: third_party/WebKit/Source/modules/webdatabase/DatabaseContext.h

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 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 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2011 Google, Inc. All Rights Reserved. 3 * Copyright (C) 2011 Google, Inc. All Rights Reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 DatabaseContext* backend(); 57 DatabaseContext* backend();
58 DatabaseThread* databaseThread(); 58 DatabaseThread* databaseThread();
59 bool databaseThreadAvailable(); 59 bool databaseThreadAvailable();
60 60
61 void setHasOpenDatabases() { m_hasOpenDatabases = true; } 61 void setHasOpenDatabases() { m_hasOpenDatabases = true; }
62 // Blocks the caller thread until cleanup tasks are completed. 62 // Blocks the caller thread until cleanup tasks are completed.
63 void stopDatabases(); 63 void stopDatabases();
64 64
65 bool allowDatabaseAccess() const; 65 bool allowDatabaseAccess() const;
66 66
67 SecurityOrigin* securityOrigin() const; 67 SecurityOrigin* getSecurityOrigin() const;
68 bool isContextThread() const; 68 bool isContextThread() const;
69 69
70 private: 70 private:
71 explicit DatabaseContext(ExecutionContext*); 71 explicit DatabaseContext(ExecutionContext*);
72 72
73 Member<DatabaseThread> m_databaseThread; 73 Member<DatabaseThread> m_databaseThread;
74 bool m_hasOpenDatabases; // This never changes back to false, even after the database thread is closed. 74 bool m_hasOpenDatabases; // This never changes back to false, even after the database thread is closed.
75 bool m_hasRequestedTermination; 75 bool m_hasRequestedTermination;
76 }; 76 };
77 77
78 } // namespace blink 78 } // namespace blink
79 79
80 #endif // DatabaseContext_h 80 #endif // DatabaseContext_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698