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

Side by Side Diff: chrome/browser/gears_integration.cc

Issue 2965015: Attempt four at landing the "histogram.h removed from message_loop.h" patch. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: win build fixes Created 10 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/browser/gears_integration.h" 5 #include "chrome/browser/gears_integration.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/base64.h" 10 #include "base/base64.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/scoped_ptr.h"
13 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
14 #include "chrome/browser/chrome_plugin_host.h" 15 #include "chrome/browser/chrome_plugin_host.h"
15 #include "chrome/common/chrome_plugin_util.h" 16 #include "chrome/common/chrome_plugin_util.h"
16 #include "chrome/common/gears_api.h" 17 #include "chrome/common/gears_api.h"
17 #include "gfx/codec/png_codec.h" 18 #include "gfx/codec/png_codec.h"
18 #include "googleurl/src/gurl.h" 19 #include "googleurl/src/gurl.h"
19 #include "third_party/skia/include/core/SkBitmap.h" 20 #include "third_party/skia/include/core/SkBitmap.h"
20 #include "webkit/glue/dom_operations.h" 21 #include "webkit/glue/dom_operations.h"
21 22
22 // The following 2 helpers are borrowed from the Gears codebase. 23 // The following 2 helpers are borrowed from the Gears codebase.
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 struct RunnableMethodTraits<QueryShortcutsCommand> { 300 struct RunnableMethodTraits<QueryShortcutsCommand> {
300 void RetainCallee(QueryShortcutsCommand* command) {} 301 void RetainCallee(QueryShortcutsCommand* command) {}
301 void ReleaseCallee(QueryShortcutsCommand* command) {} 302 void ReleaseCallee(QueryShortcutsCommand* command) {}
302 }; 303 };
303 304
304 void GearsQueryShortcuts(GearsQueryShortcutsCallback* callback) { 305 void GearsQueryShortcuts(GearsQueryShortcutsCallback* callback) {
305 CPHandleCommand(GEARSPLUGINCOMMAND_GET_SHORTCUT_LIST, 306 CPHandleCommand(GEARSPLUGINCOMMAND_GET_SHORTCUT_LIST,
306 new QueryShortcutsCommand(callback), 307 new QueryShortcutsCommand(callback),
307 0); 308 0);
308 } 309 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_updater.cc ('k') | chrome/browser/geolocation/access_token_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698