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

Side by Side Diff: chrome/browser/extensions/dom_actions.cc

Issue 12379095: Fix up unused includes from chrome/browser/extensions to the rest of chrome/browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: other platforms Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "base/logging.h" 5 #include "base/logging.h"
6 #include "base/stringprintf.h" 6 #include "base/stringprintf.h"
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/extensions/dom_actions.h" 8 #include "chrome/browser/extensions/dom_actions.h"
9 #include "chrome/browser/history/url_database.h"
9 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
10 11
11 using content::BrowserThread; 12 using content::BrowserThread;
12 13
13 namespace extensions { 14 namespace extensions {
14 15
15 const char* DOMAction::kTableName = "activitylog_urls"; 16 const char* DOMAction::kTableName = "activitylog_urls";
16 const char* DOMAction::kTableContentFields[] = 17 const char* DOMAction::kTableContentFields[] =
17 {"url_action_type", "url", "url_title", "api_call", "args", "extra"}; 18 {"url_action_type", "url", "url_title", "api_call", "args", "extra"};
18 19
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 return INSERTED; 124 return INSERTED;
124 } else if (str == "XHR") { 125 } else if (str == "XHR") {
125 return XHR; 126 return XHR;
126 } else { 127 } else {
127 NOTREACHED(); 128 NOTREACHED();
128 return MODIFIED; // this should never happen! 129 return MODIFIED; // this should never happen!
129 } 130 }
130 } 131 }
131 132
132 } // namespace extensions 133 } // namespace extensions
133
OLDNEW
« no previous file with comments | « chrome/browser/extensions/crx_installer_browsertest.cc ('k') | chrome/browser/extensions/extension_action.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698