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

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

Issue 8869003: Move the "extension" namespace from extension_api.json into extension_api_extension.json. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build.py again? Created 9 years 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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_clear_api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Defines the Chrome Extensions Clear API functions, which entail 5 // Defines the Chrome Extensions Clear API functions, which entail
6 // clearing browsing data, and clearing the browser's cache (which, let's be 6 // clearing browsing data, and clearing the browser's cache (which, let's be
7 // honest, are the same thing), as specified in 7 // honest, are the same thing), as specified in the extension API JSON.
8 // chrome/common/extensions/api/extension_api.json.
9 8
10 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_CLEAR_API_H_ 9 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_CLEAR_API_H_
11 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_CLEAR_API_H_ 10 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_CLEAR_API_H_
12 #pragma once 11 #pragma once
13 12
14 #include <string> 13 #include <string>
15 14
16 #include "chrome/browser/browsing_data_remover.h" 15 #include "chrome/browser/browsing_data_remover.h"
17 #include "chrome/browser/extensions/extension_function.h" 16 #include "chrome/browser/extensions/extension_function.h"
18 17
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 virtual ~ClearPasswordsFunction() {} 128 virtual ~ClearPasswordsFunction() {}
130 129
131 protected: 130 protected:
132 // BrowsingDataTypeExtensionFunction interface method. 131 // BrowsingDataTypeExtensionFunction interface method.
133 virtual int GetRemovalMask() const OVERRIDE; 132 virtual int GetRemovalMask() const OVERRIDE;
134 133
135 DECLARE_EXTENSION_FUNCTION_NAME("experimental.clear.passwords") 134 DECLARE_EXTENSION_FUNCTION_NAME("experimental.clear.passwords")
136 }; 135 };
137 136
138 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CLEAR_API_H_ 137 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CLEAR_API_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_clear_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698