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

Side by Side Diff: chrome/browser/extensions/app_notification_storage.h

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_EXTENSIONS_APP_NOTIFICATION_STORAGE_H__ 5 #ifndef CHROME_BROWSER_EXTENSIONS_APP_NOTIFICATION_STORAGE_H__
6 #define CHROME_BROWSER_EXTENSIONS_APP_NOTIFICATION_STORAGE_H__ 6 #define CHROME_BROWSER_EXTENSIONS_APP_NOTIFICATION_STORAGE_H__
7 #pragma once
8 7
9 #include <set> 8 #include <set>
10 9
11 #include "chrome/browser/extensions/app_notification.h" 10 #include "chrome/browser/extensions/app_notification.h"
12 11
13 class FilePath; 12 class FilePath;
14 13
15 // Represents storage for app notifications for a particular extension id. 14 // Represents storage for app notifications for a particular extension id.
16 // 15 //
17 // IMPORTANT NOTE: Instances of this class should only be used on the FILE 16 // IMPORTANT NOTE: Instances of this class should only be used on the FILE
(...skipping 16 matching lines...) Expand all
34 33
35 // Writes the |list| for |extension_id| into storage. 34 // Writes the |list| for |extension_id| into storage.
36 virtual bool Set(const std::string& extension_id, 35 virtual bool Set(const std::string& extension_id,
37 const AppNotificationList& list) = 0; 36 const AppNotificationList& list) = 0;
38 37
39 // Deletes all data for |extension_id|. 38 // Deletes all data for |extension_id|.
40 virtual bool Delete(const std::string& extension_id) = 0; 39 virtual bool Delete(const std::string& extension_id) = 0;
41 }; 40 };
42 41
43 #endif // CHROME_BROWSER_EXTENSIONS_APP_NOTIFICATION_STORAGE_H__ 42 #endif // CHROME_BROWSER_EXTENSIONS_APP_NOTIFICATION_STORAGE_H__
OLDNEW
« no previous file with comments | « chrome/browser/extensions/app_notification_manager.h ('k') | chrome/browser/extensions/app_notification_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698