OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 #ifndef WebDatabaseObserver_h | 31 #ifndef WebDatabaseObserver_h |
32 #define WebDatabaseObserver_h | 32 #define WebDatabaseObserver_h |
33 | 33 |
34 namespace blink { | 34 namespace blink { |
35 | 35 |
36 class WebString; | 36 class WebString; |
37 | 37 |
38 class WebDatabaseObserver { | 38 class WebDatabaseObserver { |
39 public: | 39 public: |
| 40 // FIXME: |isSyncDatabse| arguments are alwyas |false|. We should remove the
m. |
| 41 |
40 virtual void databaseOpened( | 42 virtual void databaseOpened( |
41 const WebString& databaseIdentifier, | 43 const WebString& databaseIdentifier, |
42 const WebString& databaseName, | 44 const WebString& databaseName, |
43 const WebString& databaseDisplayName, | 45 const WebString& databaseDisplayName, |
44 unsigned long estimatedSize) = 0; | 46 unsigned long estimatedSize) = 0; |
45 virtual void databaseModified( | 47 virtual void databaseModified( |
46 const WebString& databaseIdentifier, | 48 const WebString& databaseIdentifier, |
47 const WebString& databaseName) = 0; | 49 const WebString& databaseName) = 0; |
48 virtual void databaseClosed( | 50 virtual void databaseClosed( |
49 const WebString& databaseIdentifier, | 51 const WebString& databaseIdentifier, |
(...skipping 28 matching lines...) Expand all Loading... |
78 const WebString& databaseName, | 80 const WebString& databaseName, |
79 bool isSyncDatabase, int sqliteErrorCode) { } | 81 bool isSyncDatabase, int sqliteErrorCode) { } |
80 | 82 |
81 protected: | 83 protected: |
82 ~WebDatabaseObserver() { } | 84 ~WebDatabaseObserver() { } |
83 }; | 85 }; |
84 | 86 |
85 } // namespace blink | 87 } // namespace blink |
86 | 88 |
87 #endif // WebDatabaseObserver_h | 89 #endif // WebDatabaseObserver_h |
OLD | NEW |